dask.dataframe.Series.cat.remove_unused_categories#
- dataframe.Series.cat.remove_unused_categories()#
Removes categories which are not used
Notes
This method requires a full scan of the data to compute the unique values, which can be expensive.
Removes categories which are not used
Notes
This method requires a full scan of the data to compute the unique values, which can be expensive.