pandas/core/base.py
def unique(self):
        """
        Index.unique with handling for DatetimeIndex/PeriodIndex metadata

        Returns
        -------
        result : DatetimeIndex or PeriodIndex
        """
        from pandas.core.index import Int64Index
        result = Int64Index.unique(self)
        return self._simple_new(result, name=self.name, freq=self.freq,
                                tz=getattr(self, 'tz', None))

        Index.unique with handling for DatetimeIndex/PeriodIndex metadata

        Returns
        -------
        result : DatetimeIndex or PeriodIndex
        
Index.unique with handling for DatetimeIndex/PeriodIndex metadata
Returns


Index . unique with handling for DatetimeIndex / PeriodIndex metadata Returns
def unique(self):
        from pandas.core.index import Int64Index
        result = Int64Index.unique(self)
        return self._simple_new(result, name=self.name, freq=self.freq,
                                tz=getattr(self, 'tz', None))
def unique ( self ) : from pandas . core . index import Int64Index result = Int64Index . unique ( self ) return self . _simple_new ( result , name = self . name , freq = self . freq , tz = getattr ( self , 'tz' , None ) )
Index.unique with handling for DatetimeIndex/PeriodIndex metadata
Returns
Index . unique with handling for DatetimeIndex / PeriodIndex metadata Returns
"""
        Index.unique with handling for DatetimeIndex/PeriodIndex metadata

        Returns
        -------
        result : DatetimeIndex or PeriodIndex
        """
self