pandas.CategoricalIndex.equals
pandas 3.1.1 · Index objects · method
Check whether two objects have compatible shapes and the same contents, including missing values in the same locations.
Call syntax
CategoricalIndex.equals(other)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
other |
Required Positional or keyword |
object Supply the second object or value used in the operation. |
Returns
bool