pandas.Series.cat.remove_unused_categories¶
Remove categories which are not used.
- param inplace
- bool, default False
Whether or not to drop unused categories inplace or return a copy of this categorical with unused categories dropped.
- return
cat : Categorical with unused categories dropped or None if inplace.
Warning
This feature is currently unsupported by Intel Scalable Dataframe Compiler