Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make_holidays: incompatibility of date type and date range fix #15

Closed
kdgutier opened this issue Sep 28, 2021 · 1 comment
Closed

make_holidays: incompatibility of date type and date range fix #15

kdgutier opened this issue Sep 28, 2021 · 1 comment

Comments

@kdgutier
Copy link
Contributor

When fixing the distance variables for the beginning and end of the date range
distance[distance>183] = 365 - distance[distance>183]

UFuncTypeError: Cannot cast ufunc 'greater' input 0 from dtype('<m8[ns]') to dtype('<m8') with casting rule 'same_kind'

@pietroppeter
Copy link

PR to fix this #44 (I was expecting that PR to be linked automatically here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants