modin.pandas.unique¶
- snowflake.snowpark.modin.pandas.general.unique(values) ndarray[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.17.0/src/snowflake/snowpark/modin/pandas/general.py#L765-L816)¶
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
Series.uniqueNotes
Returns the unique values as a NumPy array. This includes
Datetime with Timezone
IntegerNA
See Examples section.
Examples