pandas / 0.25.0 / reference / api / pandas.categoricalindex.as_unordered.html /

pandas.CategoricalIndex.as_unordered

CategoricalIndex.as_unordered(self, *args, **kwargs) [source]

Set the Categorical to be unordered.

Parameters:
inplace : bool, default False

Whether or not to set the ordered attribute in-place or return a copy of this categorical with ordered set to False.

Returns:
Categorical

Unordered Categorical.

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.CategoricalIndex.as_unordered.html