8000 DOC: remove "arr" from keepdims docstrings by ahaldane · Pull Request #7504 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: remove "arr" from keepdims docstrings #7504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 5, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions numpy/core/fromnumeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
0