pandas / 1 / reference / api / pandas.categoricalindex.equals.html

pandas.CategoricalIndex.equals

CategoricalIndex.equals(other)[source]

Determine if two CategoricalIndex objects contain the same elements.

Returns
bool

If two CategoricalIndex objects have equal elements True, otherwise False.

© 2008–2022, 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.5.0/reference/api/pandas.CategoricalIndex.equals.html