categoricalSeries
Builds a CATEGORICAL Series from a labels Series and per-slot codes.
Parameters
name | the Series name |
labels | the dictionary labels (STRING Series; unique and non-null) |
codes | the per-slot dictionary codes (-1 for nulls) |
Returns
the single-chunk CATEGORICAL Series.
Throws
DataFrameException on duplicate or null dictionary labels.