-
Notifications
You must be signed in to change notification settings - Fork 10
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
TypeError: unsupported type for timedelta weeks component: numpy.int64 #9
Comments
issues related to numpy compatibility make it difficult to use this library. Although my actual bug refers to numpy.int32:
|
Wrapping the timedelta weeks in int seems to fix one issue approximately:
leaving this breadcrumb in case someone revisits this library, or an end user needs to borrow a few lines of code themselves to work around a bug. |
As @extrospective did, I also overcame this problem by casting my |
You can also try this method as it worked for me: |
The text was updated successfully, but these errors were encountered: