dask.dataframe.Series.cat.as_known

dask.dataframe.Series.cat.as_known

dataframe.Series.cat.as_known(**kwargs)

Ensure the categories in this series are known.

If the categories are known, this is a no-op. If unknown, the categories are computed, and a new series with known categories is returned.

Parameters
kwargs

Keywords to pass on to the call to compute.