For testing I want to mock datetime.datetime.now() to make the test unaffected by time changes. This seems to clash with some pandas functionality:
datetime.datetime.now()