Mixed Data Types Pipeline

hard

Task

Use ColumnTransformer to handle numerical and categorical features differently in a pipeline.

Why It Matters

Real-world datasets have mixed types - numbers, categories, text. ColumnTransformer lets you apply different preprocessing to different columns, then combine them. This is how production ML pipelines handle messy real data.

Instructions

  1. Examine the setup code and data
  2. Modify the code to solve the puzzle
  3. Click Run or press Ctrl+Enter to execute

Command Palette

Search for a command to run...