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