summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-04-04 20:14:17 -0600
committerCharles Harris <charlesr.harris@gmail.com>2016-04-04 20:14:17 -0600
commit3deaf33f3f36bafd7dcfc37f6b3b690f17802681 (patch)
tree24a0a1fb9c6ab912440bfed6369ee70ac8ac44a3 /numpy/core/fromnumeric.py
parentc6e65b7aa63bf5f81b83abd54347d9cdd3a286e5 (diff)
parentb076bfb4804db8a6c38260cee56d03f99d860739 (diff)
downloadnumpy-3deaf33f3f36bafd7dcfc37f6b3b690f17802681.tar.gz
Merge pull request #7504 from ahaldane/keepdims_doc_arr
DOC: remove "arr" from keepdims docstrings
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 00086207f..261a0e2fe 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -1731,7 +1731,7 @@ def sum(a, axis=None, dtype=None, out=None, keepdims=np._NoValue):
keepdims : bool, optional
If this is set to True, the axes which are reduced are left
in the result as dimensions with size one. With this option,
- the result will broadcast correctly against the original `arr`.
+ the result will broadcast correctly against the input array.
If the default value is passed, then `keepdims` will not be
passed through to the `sum` method of sub-classes of
@@ -1885,7 +1885,7 @@ def any(a, axis=None, out=None, keepdims=np._NoValue):
keepdims : bool, optional
If this is set to True, the axes which are reduced are left
in the result as dimensions with size one. With this option,
- the result will broadcast correctly against the original `arr`.
+ the result will broadcast correctly against the input array.
If the default value is passed, then `keepdims` will not be
passed through to the `any` method of sub-classes of
@@ -1970,7 +1970,7 @@ def all(a, axis=None, out=None, keepdims=np._NoValue):
keepdims : bool, optional
If this is set to True, the axes which are reduced are left
in the result as dimensions with size one. With this option,
- the result will broadcast correctly against the original `arr`.
+ the result will broadcast correctly against the input array.
If the default value is passed, then `keepdims` will not be
passed through to the `all` method of sub-classes of
@@ -2167,7 +2167,7 @@ def amax(a, axis=None, out=None, keepdims=np._NoValue):
keepdims : bool, optional
If this is set to True, the axes which are reduced are left
in the result as dimensions with size one. With this option,
- the result will broadcast correctly against the original `arr`.
+ the result will broadcast correctly against the input array.
If the default value is passed, then `keepdims` will not be
passed through to the `amax` method of sub-classes of
@@ -2268,7 +2268,7 @@ def amin(a, axis=None, out=None, keepdims=np._NoValue):
keepdims : bool, optional
If this is set to True, the axes which are reduced are left
in the result as dimensions with size one. With this option,
- the result will broadcast correctly against the original `arr`.
+ the result will broadcast correctly against the input array.
If the default value is passed, then `keepdims` will not be
passed through to the `amin` method of sub-classes of
@@ -2809,7 +2809,7 @@ def mean(a, axis=None, dtype=None, out=None, keepdims=np._NoValue):
keepdims : bool, optional
If this is set to True, the axes which are reduced are left
in the result as dimensions with size one. With this option,
- the result will broadcast correctly against the original `arr`.
+ the result will broadcast correctly against the input array.
If the default value is passed, then `keepdims` will not be
passed through to the `mean` method of sub-classes of
@@ -2913,7 +2913,7 @@ def std(a, axis=None, dtype=None, out=None, ddof=0, keepdims=np._NoValue):
keepdims : bool, optional
If this is set to True, the axes which are reduced are left
in the result as dimensions with size one. With this option,
- the result will broadcast correctly against the original `arr`.
+ the result will broadcast correctly against the input array.
If the default value is passed, then `keepdims` will not be
passed through to the `std` method of sub-classes of
@@ -3032,7 +3032,7 @@ def var(a, axis=None, dtype=None, out=None, ddof=0, keepdims=np._NoValue):
keepdims : bool, optional
If this is set to True, the axes which are reduced are left
in the result as dimensions with size one. With this option,
- the result will broadcast correctly against the original `arr`.
+ the result will broadcast correctly against the input array.
If the default value is passed, then `keepdims` will not be
passed through to the `var` method of sub-classes of