0 votes

Hi,

Is it possible to replicate the excel function NETWORKDAYS, which excludes weekends when calculating the number of days between two dates, in any way within dataiku using prepare mode or sql, or python recipes?

Thanks!

Frank

by

1 Answer

0 votes
Hi,

There is no built-in formula in a visual prepare recipe to replicate this Excel function. But this would be quite simple to do in a Python or R recipe. In Python there is one package which does that: https://pypi.org/project/workdays/. In R there is a similar one: https://cran.r-project.org/web/packages/bizdays/bizdays.pdf.

Hope it helps,

Alex
by
1,012 questions
1,049 answers
1,138 comments
5,620 users

┬ęDataiku 2012-2018 - Privacy Policy