The DateOffset seems to be the way to go, but I'm confused with the documentation. How can I offset by business days?
Thanks.
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')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With