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.

Level: intermediateTopic: Feature engineering data prep

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

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.