How do you optimize Pandas performance for large datasets?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how to make pandas code faster and lighter on memory when a dataset grows to millions of rows. Tests knowledge of vectorization, dtype choices, efficient file formats, measuring before tuning, and when to move to chunked processing or another engine.