What is the purpose of the ColumnTransformer in scikit-learn and how does it work?

Select the correct answer: Single Choice

Key points

  • ColumnTransformer enables multiple transformations on different subsets of columns
  • It concatenates the transformed columns into a single feature matrix
  • Useful for streamlining preprocessing steps in a scikit-learn Pipeline

Ready to go further?