Series.unique

Series.unique() Series[source]

Returns all unique values within a Series. Note that behavior is slightly different between pandas and opensearch_py_ml: pandas will return values in the order they’re first seen and opensearch-py-ml returns values in sorted order.

Returns

pd.Series

A series containing unique values of given series is returned.

See Also

:pandas_api_docs:`pandas.Series.unique`