Skip to content

Glossary: ML Beyond the Basics

Categorical (pd.Categorical)

Also written: pd.Categorical, category dtype

A pandas column type with a fixed list of allowed values. It makes every file you load encode the column the same way, and lets LightGBM treat it as a category.

Where the book teaches it

Related terms

LightGBM