def dict_compat(d):
return {maybe_box_datetimelike(key): value for key, value in d.items()}<EOL>
Helper function to convert datetimelike-keyed dicts
to Timestamp-keyed dict.

Parameters
----------
d: dict like object

Returns
-------
dict