workday function
pierre3401 opened this issue · 2 comments
pierre3401 commented
Hello,
Sorry for my english but is not my native language...
in the "workday" function is that I can import dates from a file for "holidays"?
thanks
ogt commented
The holidays parameter is a expected to be a list of dates, e.g.
networkdays(date(year=2012,month=1,day=1),
date(year=2012,month=12,day=31),
[
date(year=2012,month=1,day=1),
date(year=2012,month=7,day=4),
date(year=2012,month=12,day=25)
]
);
If you have a file with holidays you will need to parse it into a list of dates and feed it to the function.
pierre3401 commented
thanks