When would you prioritize readability over pure vectorization for Pandas code?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks when a data scientist should keep pandas code readable with apply or explicit branching instead of a fully vectorized version. Tests judgment about data size, profiling, maintainability and when a vectorized rewrite pays off.