pandas calculate same day 3 months ago dateoffset

Solutions on MaxInterview for pandas calculate same day 3 months ago dateoffset by the best coders in the world

showing results for - "pandas calculate same day 3 months ago dateoffset"
Mirko
03 Apr 2018
1>>> from pandas.tseries.offsets import DateOffset
2>>> ts = pd.Timestamp('2017-01-01 09:10:11')
3>>> ts + DateOffset(months=3)
4Timestamp('2017-04-01 09:10:11')
similar questions