Normalize Datetimes to Midnight
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Write a pandas function that sets every timestamp in a datetime64 Series to midnight of the same day while keeping the dtype, index and name. It tests vectorized datetime handling, knowing which pandas methods change the dtype, and how timezones affect where a day starts.