W3cubDocs

/pandas 0.25

pandas.Index.unique

Index.unique(self, 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

© 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.25.0/reference/api/pandas.Index.unique.html