Mixed Data Types Pipeline
hardTask
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
- Examine the setup code and data
- Modify the code to solve the puzzle
- Click Run or press Ctrl+Enter to execute