numpy.ufunc.ntypes#
attribute
- ufunc.ntypes#
The number of types.
The number of numerical NumPy types - of which there are 18 total - on whichthe ufunc can operate.
See also
Examples
>>>importnumpyasnp>>>np.add.ntypes22>>>np.multiply.ntypes23>>>np.power.ntypes21>>>np.exp.ntypes10>>>np.remainder.ntypes16
On this page