We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following fails:
from numba import njit import numpy as np @njit def check_nan(dt): if np.isnan(dt): raise ValueError() return dt check_nan(np.datetime64("2020-01-01"))
with: TypingError: ufunc 'isnan' using the loop 'M->?' not supported in this mode
TypingError: ufunc 'isnan' using the loop 'M->?' not supported in this mode
Not that this also makes np.searchsorted fail on datetime types.
The text was updated successfully, but these errors were encountered:
np.isnan on datetime64 is a new feature in numpy1.18. Numba has not added all the new features for numpy1.18.
np.isnan
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The following fails:
with:
TypingError: ufunc 'isnan' using the loop 'M->?' not supported in this mode
Not that this also makes np.searchsorted fail on datetime types.
The text was updated successfully, but these errors were encountered: