# How to check whether numpy function supported in numba?

**URL:** <https://numba.discourse.group/t/how-to-check-whether-numpy-function-supported-in-numba/778>\
**Category:** Support: How do I do ...?\
**Created:** [June 30, 2021, 4:01am UTC](https://numba.discourse.group/t/how-to-check-whether-numpy-function-supported-in-numba/778 "2021-06-30T04:01:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaoming0625](https://yyz2.discourse-cdn.com/free1/user_avatar/numba.discourse.group/chaoming0625/32/253_2.png) [@chaoming0625](https://numba.discourse.group/u/chaoming0625)\
**Post date:** [June 30, 2021, 4:01am UTC](https://numba.discourse.group/t/how-to-check-whether-numpy-function-supported-in-numba/778/1 "2021-06-30T04:01:25Z")

</div>

Does Numba support to check whether a numpy function is supported?

For example, here I has a NumPy function

```python
import numpy as np
import numba as nb

nb.issupport(np.dot)

```

---

<div class="post-metadata">

**Author:** ![ryanchien](https://yyz2.discourse-cdn.com/free1/user_avatar/numba.discourse.group/ryanchien/32/117_2.png) [@ryanchien](https://numba.discourse.group/u/ryanchien)\
**Post date:** [July 4, 2021, 4:10pm UTC](https://numba.discourse.group/t/how-to-check-whether-numpy-function-supported-in-numba/778/2 "2021-07-04T16:10:47Z")

</div>

Hi - I am not aware if this is supported from the Python interpreter. However the numpy supported functions docs are quite good. See [Supported NumPy features — Numba 0.50.1 documentation](https://numba.pydata.org/numba-doc/latest/reference/numpysupported.html).

---

<div class="post-metadata">

**Author:** ![Hannes](https://yyz2.discourse-cdn.com/free1/user_avatar/numba.discourse.group/hannes/32/188_2.png) [@Hannes](https://numba.discourse.group/u/Hannes)\
**Post date:** [July 5, 2021, 8:27am UTC](https://numba.discourse.group/t/how-to-check-whether-numpy-function-supported-in-numba/778/3 "2021-07-05T08:27:57Z")

</div>

Hi,

as @ryanchien I am not aware of such a function, but I do think it is a cool idea.

Maybe not the highest priority, but why not make a feature request over on Github 🙂

---

<div class="post-metadata">

**Author:** ![stuartarchibald](https://yyz2.discourse-cdn.com/free1/user_avatar/numba.discourse.group/stuartarchibald/32/10_2.png) [@stuartarchibald](https://numba.discourse.group/u/stuartarchibald)\
**Post date:** [July 6, 2021, 9:28am UTC](https://numba.discourse.group/t/how-to-check-whether-numpy-function-supported-in-numba/778/4 "2021-07-06T09:28:10Z")

</div>

It may be possible to write a “helper” function for this. It’s important to remember that “support” for a function isn’t just about the function itself but the types it is called with. For example, `np.dot` is reasonably well supported for array types, but if you call it with two integers it won’t (currently) compile!

As suggested by @Hannes, a [Github feature request](https://github.com/numba/numba/issues/new?template=Feature_request.md) would be welcomed.
