pandas/core/index.py
def equals(self, other):
        """
        Determines if two Index objects contain the same elements.
        """
        if self.is_(other):
            return True

        if not isinstance(other, Index):
            return False

        if type(other) != Index:
            return other.equals(self)

        return array_equivalent(self, other)

        Determines if two Index objects contain the same elements.
        
Determines if two Index objects contain the same elements.
Determines if two Index objects contain the same elements .
def equals(self, other):
        if self.is_(other):
            return True
        if not isinstance(other, Index):
            return False
        if type(other) != Index:
            return other.equals(self)
        return array_equivalent(self, other)
def equals ( self , other ) : if self . is_ ( other ) : return True if not isinstance ( other , Index ) : return False if type ( other ) != Index : return other . equals ( self ) return array_equivalent ( self , other )
Determines if two Index objects contain the same elements.
Determines if two Index objects contain the same elements .
"""
        Determines if two Index objects contain the same elements.
        """
self
other