pandas.Index.unique

Index.unique(level=None) [source]

Return unique values in the index. Uniques are returned in order of appearance, this does NOT sort.

Parameters:
level : int or str, optional, default None

Only return values from specified level (for MultiIndex)

New in version 0.23.0.

Returns:
Index without duplicates

See also

unique, Series.unique

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.Index.unique.html