-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Holidays are all zeros (pandas 1.1.0 breaks holidays) #1617
Comments
Duplicate of #1607 . |
@gentnm Thank you for this. Had same problem on a new machine but working well on another. |
Ok I just pushed a fix in 75ec9df . Old versions of pandas allow looking up a python date object in a pandas date index, but starting in pd 1.1.0 it seems you can only look up a pandas timestamp. We'll push this to pypi, but in the meantime the workaround is to downgrade pandas as described above. |
This is now fixed in v0.7 that was just pushed to pypi. |
suddently holidays disappeared and are all zeros.
I started a new code following the example on the website and the same problem appeared.
I cannot tell what the cause is . here is the code:
The text was updated successfully, but these errors were encountered: