numpy.vectorize
numpy.frompyfunc
vectorize.
__call__
Return arrays with the results of pyfunc broadcast (vectorized) over args and kwargs not in excluded.