Categorical Variable Encoding

Feature-engine’s categorical encoders replace variable strings by estimated or arbitrary numbers.

Feature-engine’s categorical encoders work only with categorical variables. A list of variables can be indicated, or the encoders will automatically select and encode all categorical variables in the train set.