pandas.Categorical.as_unordered
pandas 3.1.1 · Arrays, scalars, and data types · method
Mark categories as unordered, preserving their labels.
Call syntax
Categorical.as_unordered()Run the example
Edit the example and select Run Python to see the result.
Parameters
This call takes no arguments.
Returns
Categorical