pandas.Index.equals — pandas 0.25.3 documentation (original) (raw)

Index. equals(self, other)[source]

Determine if two Index objects contain the same elements.

Returns: bool True if “other” is an Index and it has the same elements as calling index; False otherwise.