PandasRegistry.is_categorical()

PandasRegistry.is_categorical()#

PandasRegistry.is_categorical(name)[source]#

Check if a variable is categorical.

Parameters:

name (str) – Column name in the data

Return type:

bool

Returns:

True if variable is categorical, False otherwise