

def is_(self, other):
    '\n        More flexible, faster check like ``is`` but that works through views\n\n        Note: this is *not* the same as ``Index.identical()``, which checks\n        that metadata is also the same.\n\n        Parameters\n        ----------\n        other : object\n            other object to compare against.\n\n        Returns\n        -------\n        True if both have same underlying data, False otherwise : bool\n        '
    return ((self._id is getattr(other, '_id', Ellipsis)) and (self._id is not None))

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