AI engineering glossary · Feature engineering data prep
What is column transformer?
Column transformer (also called ColumnTransformer): A scikit-learn tool that applies different preprocessing steps to different columns of a table, for instance scaling numeric columns and one-hot encoding categorical ones, then joins the results into one feature matrix.
Column transformer: an example
Scale 'age' and 'income' with StandardScaler while one-hot encoding 'city' in one ColumnTransformer.
Related terms
More Feature engineering data prep terms
- Constant feature
- Constant imputation
- Cook's distance
- Correlation filter
- Count vectorizer
- Cyclical encoding
- Datetime features
- Discretization
Where you learn it
Column transformer is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.