pandas/core/base.py
def unique(self):
        """
        Return array of unique values in the object. Significantly faster than
        numpy.unique. Includes NA values.

        Returns
        -------
        uniques : ndarray
        """
        from pandas.core.nanops import unique1d
        values = self.values
        if hasattr(values,'unique'):
            return values.unique()

        return unique1d(values)

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

        Returns
        -------
        uniques : ndarray
        
Return array of unique values in the object.

Returns

uniques : ndarray
Return array of unique values in the object . Returns uniques : ndarray
def unique(self):
        from pandas.core.nanops import unique1d
        values = self.values
        if hasattr(values,'unique'):
            return values.unique()
        return unique1d(values)
def unique ( self ) : from pandas . core . nanops import unique1d values = self . values if hasattr ( values , 'unique' ) : return values . unique ( ) return unique1d ( values )
Return array of unique values in the object.
Return array of unique values in the object .
"""
        Return array of unique values in the object. Significantly faster than
        numpy.unique. Includes NA values.

        Returns
        -------
        uniques : ndarray
        """
self