You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside a Numba-JITed function, users might want to call NumPy functions (np.*) on Awkward Arrays that happen to be 1D/simple/flat. Right now, they have to cast such an array with np.asarray and then call the NumPy function, which they don't have to do outside of Numba. And that's surprising. It may be possible to register Awkward Arrays (or just NumpyArrayType) as "array-like" in Numba, so that it does this conversion automatically.
The text was updated successfully, but these errors were encountered:
Inside a Numba-JITed function, users might want to call NumPy functions (
np.*
) on Awkward Arrays that happen to be 1D/simple/flat. Right now, they have to cast such an array withnp.asarray
and then call the NumPy function, which they don't have to do outside of Numba. And that's surprising. It may be possible to register Awkward Arrays (or just NumpyArrayType) as "array-like" in Numba, so that it does this conversion automatically.The text was updated successfully, but these errors were encountered: