pandas.CategoricalIndex.equals

CategoricalIndex.equals(self, other)[source]

Determine if two CategoricalIndex objects contain the same elements.

Returns
bool

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