dask.dataframe.Series.cat.as_unordered

dask.dataframe.Series.cat.as_unordered

dataframe.Series.cat.as_unordered(*args, **kwargs)

Set the Categorical to be unordered.

This docstring was copied from pandas.core.arrays.categorical.CategoricalAccessor.as_unordered.

Some inconsistencies with the Dask version may exist.

Parameters
inplacebool, default False

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

Deprecated since version 1.5.0.

Returns
Categorical or None

Unordered Categorical or None if inplace=True.