-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support for Advanced Numpy dtypes #9527
Labels
Comments
Noting from discussion in the triage meeting that NumPy 2.0 also has some dtype extension mechanisms that might help us here - worth revisiting once NumPy 2.0 support is added to Numba. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature request
Hey Numba team,
Numba currently has limited support for advanced NumPy dtypes.
While it handles basic dtypes, such as integers or floats, it fails to compile functions if advanced dtypes are used as function arguments.
The functionality could be useful to implement functions like "numpy.fromiter(iter, dtype)".
Having an advanced dtype would allow reading iterables of 1-D arrays from a generator function to create 2D-arrays.
np.fromiter(iter, dtype=np.dtype(('<i8', (3,))))
Have a great day!
The text was updated successfully, but these errors were encountered: