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 and pandas NA). Callers are responsible to ensure the input dataframe contains only non-numeric columns.

Parameters:

df (DataFrame) – an input dataframe whose all columns must be non-numeric. Callers must ensure to pass an all-non-numerical input dataframe.

Return type:

None