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.