What strategies would you use to optimize memory usage in large Pandas DataFrames?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how to reduce the memory footprint of large pandas DataFrames when the data barely fits in RAM. Tests whether you can profile memory per column, choose smaller dtypes safely, load less data, and avoid hidden copies during transformations.