pandas.Index.unique

Index.unique()

Return array of unique values in the object. Significantly faster than numpy.unique. Includes NA values.

Returns:uniques : ndarray