pandas.Index.is_

Index.is_(other)[source]

More flexible, faster check like is but that works through views.

Note: this is not the same as Index.identical(), which checks that metadata is also the same.

Parameters
other:object

Other object to compare against.

Returns
bool

True if both have same underlying data, False otherwise.

See also

Index.identical

Works like Index.is_ but also checks metadata.

© 2008–2021, 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/1.3.4/reference/api/pandas.Index.is_.html