Skip to content
ML Academy

SQL and Python

Interview question

  • midlevel
  • 8 minsuggested time
  • 2Data analyst, Data scientist

Bookings are stored with UTC timestamps. The daily bookings report for the London office groups by the UTC date, and the commercial team says Sunday numbers do not match their own system, especially around the clock changes. What is wrong, and how do you fix it in pandas?

Tests: Time zones in analytics: UTC storage vs local business dates, daylight-saving transitions, 23- and 25-hour days, and correct pandas conversion.

Sign in to practise: answers are saved before model answers are shown.