modin.pandas.unique¶
- modin.pandas.unique(values) ndarray[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/modin/plugin/extensions/general_overrides.py#L915-L922)¶
Return unique values based on a hash table. Unique values are returned in the order of appearance. This does NOT sort.
- Parameters:
values (ndarray (1-d), list, bytearray, tuple, Series, Index, list-like) – Non-hashable objects like set, dict, and user defined classes are invalid input. Values to perform computation.
- Returns:
ndarray
The unique values returned as a NumPy array. See Notes.
See also
Notes
Returns the unique values as a NumPy array. This includes
Datetime with Timezone
IntegerNA
See Examples section.
Examples