diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-06-02 18:10:59 +0100 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-09-12 23:14:09 -0700 |
commit | 4afeac20fd9d9e4a7946cd9fadf41a2a3476a620 (patch) | |
tree | 7b43000d48b15c074e2f003909ce92581f56aa6a /numpy/add_newdocs.py | |
parent | cf7ba54953b360905982d346c6376836736090ef (diff) | |
download | numpy-4afeac20fd9d9e4a7946cd9fadf41a2a3476a620.tar.gz |
ENH: Add out argument to `concatenate`
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r-- | numpy/add_newdocs.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index 687204fc1..c4713f16b 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -1158,7 +1158,7 @@ add_newdoc('numpy.core.multiarray', 'frombuffer', add_newdoc('numpy.core.multiarray', 'concatenate', """ - concatenate((a1, a2, ...), axis=0) + concatenate((a1, a2, ...), axis=0, out=None) Join a sequence of arrays along an existing axis. @@ -1169,6 +1169,10 @@ add_newdoc('numpy.core.multiarray', 'concatenate', corresponding to `axis` (the first, by default). axis : int, optional The axis along which the arrays will be joined. Default is 0. + out : ndarray, optional + If provided, the destination to place the result. The shape must be + correct, matching that of what concatenate would have returned if no + out argument were specified. Returns ------- |