pandas / 0.25.0 / reference / api / pandas.index.equals.html /

pandas.Index.equals

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.

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Index.equals.html