I currently have a program setup to run two different ways. One way is to run over a specified time frame, and the other way is to run everyday. However, when I have it set to r
for me I use an old trick from Excel:
from pandas.tseries.offsets import Day, BDay def is_bday(x): return x == x + Day(1) - BDay(1)