GenXFile.unique

GenXFile.unique(col, return_index=False, return_inverse=False)

Return the unique values from the specified column - pass through for numpy.unique.

Parameters

col (index) – Column to look for unique values in

Keyword Arguments
  • return_index (bool) – Pass through to np.unique()

  • reverse (bool) – Pass through to np.unique()

Returns

(1D array) – Array of unique values from the column.