mlpy.auxiliary.datasets.DataSet.get_field

DataSet.get_field(name)[source]

Returns the field with the given name.

Parameters:

name : str

The name of the field.

Returns:

ndarray :

If a field with that name exists, the field data is returned.