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
I'm trying to use numba inside of a personnal project, since I does a lot of numpy on very big arrays and python doesn't like that at all, even with numpy arrays. But I'm surprised and annoyed by the lack of several basic functions : array_equals, array_equiv.
Thanks for the report. Numba supports a large number of commonly used NumPy functions, http://numba.pydata.org/numba-doc/dev/reference/numpysupported.html, and this set is continuously growing. The unsupported function list is in this issue: #4074 and indeed array_equals and array_equiv are on there. If these functions are important to you, contributions are very welcome.
The use of Numba's extension API @overload decorator is strongly recommended for this task. A guide to using @overload is here and API documentation is here.
It may be useful to take a look at examples of pull requests adding support for a NumPy function that have already been done if guidance is needed... here's a couple:
Feature request
Hello,
I'm trying to use numba inside of a personnal project, since I does a lot of numpy on very big arrays and python doesn't like that at all, even with numpy arrays. But I'm surprised and annoyed by the lack of several basic functions : array_equals, array_equiv.
For example :
won't work,
Use of unsupported NumPy function 'numpy.array_equal' or unsupported use of the function.
where thiswill, even if the latest is a lot less safer. You should maybe consider binding or implementing them.
Thank you 👍
The text was updated successfully, but these errors were encountered: