mlpy.auxiliary.datasets.DataSet.has_field

DataSet.has_field(name)[source]

Checks if a field with that name exists.

Parameters:

name : str

The name of the field.

Returns:

bool :

Whether a field with that name exists.