Reputation: 7351
The DateOffset seems to be the way to go, but I'm confused with the documentation. How can I offset by business days?
Thanks.
Upvotes: 7
Views: 7749
Reputation: 109726
import datetime as dt
from pandas.datetools import BDay
ts = pd.Timestamp(dt.datetime.now())
>>> ts + BDay(5)
Out[42]: Timestamp('2015-03-24 06:48:50.133321')
Upvotes: 7