This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.frompyfunc

numpy.frompyfunc()
frompyfunc(func, nin, nout) take an arbitrary python function that takes nin objects as input and returns nout objects and return a universal function (ufunc). This ufunc always returns PyObject arrays

Previous topic

numpy.vectorize

Next topic

numpy.piecewise

This Page

Quick search