Why is choosing the right data type important in Pandas, and how does it impact memory and performance?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Explain why the dtype of a Pandas column matters for memory use, speed and correctness. Tests your understanding of NumPy-backed versus object columns, downcasting, categoricals, datetime and nullable integer types, and how to measure and set dtypes when loading data.