summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/add_newdocs.py4
-rw-r--r--numpy/lib/function_base.py4
2 files changed, 8 insertions, 0 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 0341a032f..055c23480 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -4852,6 +4852,10 @@ add_newdoc('numpy.core.umath', 'frompyfunc',
out : ufunc
Returns a Numpy universal function (``ufunc``) object.
+ See Also
+ --------
+ vectorize : evaluates pyfunc over input arrays using broadcasting rules of numpy
+
Notes
-----
The returned ufunc always returns PyObject arrays.
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 5453f52fa..77fe5cef2 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -2208,6 +2208,10 @@ class vectorize(object):
>>> vpolyval([1, 2, 3], x=[0, 1])
array([3, 6])
+ See Also
+ --------
+ frompyfunc : Takes an arbitrary Python function and returns a ufunc
+
Notes
-----
The `vectorize` function is provided primarily for convenience, not for