You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [2]: t = pd.Timestamp('2014-06-10 8am')
In [3]: t + pd.DateOffset(hour=9)
Out[3]: Timestamp('2014-06-10 09:00:00', tz=None)
In [4]: t + pd.DateOffset(hours=9)
Out[4]: Timestamp('2014-06-10 17:00:00', tz=None)
note that
t + pd.offsets.Hour(9) == t + timedelta(hours=9)
so this definitly seems suspect
(also problematic for second/seconds and minute/minutes)
this is only an issue in DateOffset constructions.