diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-10-23 12:15:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-23 12:15:16 -0400 |
commit | 0e4de36343b22c3a570fcb5179e9a313a0acef0d (patch) | |
tree | 1769cffbd5251a5e912122f21c4694b05430778a /numpy/add_newdocs.py | |
parent | 6b358a74e3c59e7d46fa9e2a693eb8510b2a7541 (diff) | |
parent | 5b9e7ee0d5b614fb312052feae98abdd8801ba7a (diff) | |
download | numpy-0e4de36343b22c3a570fcb5179e9a313a0acef0d.tar.gz |
Merge pull request #8198 from eric-wieser/warning-on-accumulate-keepdim
DEP: Deprecate the keepdims argument to accumulate
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r-- | numpy/add_newdocs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index 78c1760ac..e3304d191 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -5720,7 +5720,7 @@ add_newdoc('numpy.core', 'ufunc', ('reduce', add_newdoc('numpy.core', 'ufunc', ('accumulate', """ - accumulate(array, axis=0, dtype=None, out=None) + accumulate(array, axis=0, dtype=None, out=None, keepdims=None) Accumulate the result of applying the operator to all elements. @@ -5752,6 +5752,8 @@ add_newdoc('numpy.core', 'ufunc', ('accumulate', out : ndarray, optional A location into which the result is stored. If not provided a freshly-allocated array is returned. + keepdims : bool + Has no effect. Deprecated, and will be removed in future. Returns ------- |