pandas.Series.unique

pandas 3.1.1 · Series and accessors · method

Get distinct values in encounter order without sorting.

Call syntax

Series.unique()

Run the example

Edit the example and select Run Python to see the result.

Parameters

This call takes no arguments.

Returns

ndarray or ExtensionArray