I have a dataframe of dates with a DateTimeIndex like this:
pd.DataFrame(['01-20-2017']*len(pd.date_range('01-01-2017', '01-30-2017')), columns=['Dates'], index=pd.date_range('01-01-2017', '01-30-2017'))
I would like to add a column that counts the difference in BUSINESS DAYS between the dates in the Dates column and the DateTimeIndex.
I am having great difficulty trying to do this, when I originally thought this would be straight forward...