How do you detect and fix incorrect data types in columns, and what are the pitfalls of automatic type inference?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how to find and repair columns stored with the wrong data type, and what goes wrong when a tool such as pandas infers column types automatically. Tests data profiling, explicit and checked type conversion, and awareness of the inference traps found in real files.