cudf.CategoricalIndex.equals#

CategoricalIndex.equals(other, **kwargs)#

Determine if two Index objects contain the same elements.

Returns
out: bool

True if “other” is an Index and it has the same elements as calling index; False otherwise.