Testing one of my scripts it appears that Numpy busday_count includes Labor Day (September 2nd). Is there a way to disable the holidays?
print (np.busday_count('2019-08-31', '2019-09-02'))
Result = 0, but 9/2/2019 is clearly Labor Day and a Monday.
print (np.busday_count('2019-08-31', '2019-09-03'))
Result = 1, but it should be 2. As far as I know the formula excludes the first date but includes the second date. I also tried:
print (np.busday_count('2019-08-31', '2019-09-02', holidays=[]))
Result still = 0 despite attempt to clear any holidays. What am I missing?