

def identical(self, other):
    'Similar to equals, but check that other comparable attributes are\n        also equal\n        '
    return (self.equals(other) and all(((getattr(self, c, None) == getattr(other, c, None)) for c in self._comparables)) and (type(self) == type(other)))

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.identical/original