Index.
unique
Return unique values in the index. Uniques are returned in order of appearance, this does NOT sort.
Only return values from specified level (for MultiIndex).
New in version 0.23.0.
See also
Series.unique