a2rl.DiscreteTokenizer.check_categorical_columns#
- DiscreteTokenizer.check_categorical_columns(df)[source]#
Input validation on the all-categorical input dataframe.
Each column in the input dataframe must have more than one unique values (which may include
None
andpandas NA
). Callers are responsible to ensure the input dataframe contains only non-numeric columns.