-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
np.vectorize
fails with output dtype datetime64[ns]
#25936
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
Comments
I think this happens because numpy creates the target array with numpy/numpy/lib/_function_base_impl.py Line 2333 in 8f22d5a
|
I wonder what breaks if you drop the |
I will work on this. |
BUG: fixed datetime64[ns] conversion issue in numpy.vectorize, see #25936
Uh oh!
There was an error while loading. Please reload this page.
Describe the issue:
This came out from @mathause 's investigation in pydata/xarray#8802 (comment)
Reproduce the code example:
Error message:
Python and NumPy Versions:
Runtime Environment:
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: