What transformers are available?

Feature-engine, a Python library for feature engineering

2 min read

Published Oct 3 2025


10
0
0
0

Feature EngineeringFeature-engineMachine LearningPandasPythonscikit-learnTransformers

Feature-engine divides its functionality into several “families” of transformers. Here’s a high-level view of what’s supported and what each part does:

Category

Purpose / Description

Examples of Transformers

Missing Data Imputation

Replace missing (NaN) values in numerical or categorical features

MeanMedianImputer, ArbitraryNumberImputer, RandomSampleImputer, EndTailImputer, CategoricalImputer, AddMissingIndicator, DropMissingData

Categorical Encoding

Convert categorical (string / object) variables to numeric / encoding schemes

OneHotEncoder, OrdinalEncoder, CountFrequencyEncoder, MeanEncoder, WoEEncoder, RareLabelEncoder, DecisionTreeEncoder, StringSimilarityEncoder

Discretisation / Binning

Convert continuous numerical variables into discrete bins or intervals

EqualFrequencyDiscretiser, EqualWidthDiscretiser, DecisionTreeDiscretiser, GeometricWidthDiscretiser, ArbitraryDiscretiser

Outlier Handling / Capping / Trimming

Identify and control extreme values (outliers)

Winsorizer, ArbitraryOutlierCapper, OutlierTrimmer

Variable Transformation

Apply mathematical transformations to numerical features to stabilise variance, reduce skewness, etc.

LogTransformer, LogCpTransformer, ReciprocalTransformer, PowerTransformer, BoxCoxTransformer, YeoJohnsonTransformer, ArcsinTransformer

Feature Creation / Generation

Combine or derive new features from existing ones

MathFeatures, RelativeFeatures, CyclicalFeatures, DecisionTreeFeatures

Datetime / Time-series Features

Extract or generate useful attributes from datetime or temporal data

DatetimeFeatures, DatetimeSubtraction (for differences)

Time Series / Windowing / Lags

For use in forecasting / time-series ML: create lag features, rolling windows, expansions

LagFeatures, WindowFeatures, ExpandingWindowFeatures

Feature Selection / Dropping / Filtering

Methods to drop or select variables based on statistical properties, model performance, correlation, etc.

DropFeatures, DropConstantFeatures, DropDuplicateFeatures, DropCorrelatedFeatures, SmartCorrelatedSelection, SelectByShuffling, SelectBySingleFeaturePerformance, SelectByTargetMeanPerformance, RecursiveFeatureElimination, RecursiveFeatureAddition, SelectByInformationValue, ProbeFeatureSelection, MRMR, etc.

Preprocessing / Matching / Wrapping

Utilities to ensure consistency in variable names, categories, or wrap scikit learn transformers

MatchCategories, MatchVariables, SklearnTransformerWrapper


For a full list, please look at the documentation here. In the next few sections we will give you some examples of the common ones.


Products from our shop

Docker Cheat Sheet - Print at Home Designs

Docker Cheat Sheet - Print at Home Designs

Docker Cheat Sheet Mouse Mat

Docker Cheat Sheet Mouse Mat

Docker Cheat Sheet Travel Mug

Docker Cheat Sheet Travel Mug

Docker Cheat Sheet Mug

Docker Cheat Sheet Mug

Vim Cheat Sheet - Print at Home Designs

Vim Cheat Sheet - Print at Home Designs

Vim Cheat Sheet Mouse Mat

Vim Cheat Sheet Mouse Mat

Vim Cheat Sheet Travel Mug

Vim Cheat Sheet Travel Mug

Vim Cheat Sheet Mug

Vim Cheat Sheet Mug

SimpleSteps.guide branded Travel Mug

SimpleSteps.guide branded Travel Mug

Developer Excuse Javascript - Travel Mug

Developer Excuse Javascript - Travel Mug

Developer Excuse Javascript Embroidered T-Shirt - Dark

Developer Excuse Javascript Embroidered T-Shirt - Dark

Developer Excuse Javascript Embroidered T-Shirt - Light

Developer Excuse Javascript Embroidered T-Shirt - Light

Developer Excuse Javascript Mug - White

Developer Excuse Javascript Mug - White

Developer Excuse Javascript Mug - Black

Developer Excuse Javascript Mug - Black

SimpleSteps.guide branded stainless steel water bottle

SimpleSteps.guide branded stainless steel water bottle

Developer Excuse Javascript Hoodie - Light

Developer Excuse Javascript Hoodie - Light

Developer Excuse Javascript Hoodie - Dark

Developer Excuse Javascript Hoodie - Dark

© 2025 SimpleSteps.guide
AboutFAQPoliciesContact