What are the .str and .dt accessors and when would you use them?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Explain the pandas .str and .dt accessors and when to use them on text and datetime columns. Tests vectorized string and date operations, missing value handling, dtype requirements, and how the accessors compare with apply and loops.