How do you perform one-hot encoding using Pandas with get_dummies()?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to one-hot encode categorical columns with pandas get_dummies(), including the options that control dropped categories, missing values and output type. Tests whether you can keep encoded features consistent between training and test data.