I need to add business days to the dates listed in an existing column in a dataframe. The data in the column is in the datetime64[ns] type. Using the suggestions from Business days in Python, I tried the code listed below.
import datetime
from pandas.tseries.offsets import BDay
df['Math Admin Date'] + BDay(1)
I got the following error message:
TypeError: cannot use a non-absolute DateOffset in datetime/timedelta operations [<BusinessDay>]
How can I add business days to my datetime column?