summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-05-12 00:43:16 -0400
committerCharles Harris <charlesr.harris@gmail.com>2015-05-12 00:43:16 -0400
commit18c89dbf87929e68479b2272ad7ab4b321120773 (patch)
tree3b28678347cdc06a3b201d46b0877f6e0cce1975 /numpy/lib
parentfb6426b3d9b25f5f7a8324fa1d9bab3f4c23dd95 (diff)
parent93d3b8dedc5cd602c867a234f07188fe5bd5479b (diff)
downloadnumpy-18c89dbf87929e68479b2272ad7ab4b321120773.tar.gz
Merge pull request #5605 from shoyer/stack
ENH: add np.stack
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/function_base.py2
-rw-r--r--numpy/lib/index_tricks.py2
-rw-r--r--numpy/lib/shape_base.py6
3 files changed, 6 insertions, 4 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index d22e8c047..e99d87971 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -3715,7 +3715,7 @@ def insert(arr, obj, values, axis=None):
See Also
--------
append : Append elements at the end of an array.
- concatenate : Join a sequence of arrays together.
+ concatenate : Join a sequence of arrays along an existing axis.
delete : Delete elements from an array.
Notes
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py
index 752407f18..030261dee 100644
--- a/numpy/lib/index_tricks.py
+++ b/numpy/lib/index_tricks.py
@@ -404,7 +404,7 @@ class RClass(AxisConcatenator):
See Also
--------
- concatenate : Join a sequence of arrays together.
+ concatenate : Join a sequence of arrays along an existing axis.
c_ : Translates slice objects to concatenation along the second axis.
Examples
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py
index 011434dda..280765df8 100644
--- a/numpy/lib/shape_base.py
+++ b/numpy/lib/shape_base.py
@@ -338,9 +338,10 @@ def dstack(tup):
See Also
--------
+ stack : Join a sequence of arrays along a new axis.
vstack : Stack along first axis.
hstack : Stack along second axis.
- concatenate : Join arrays.
+ concatenate : Join a sequence of arrays along an existing axis.
dsplit : Split array along third axis.
Notes
@@ -477,7 +478,8 @@ def split(ary,indices_or_sections,axis=0):
hsplit : Split array into multiple sub-arrays horizontally (column-wise).
vsplit : Split array into multiple sub-arrays vertically (row wise).
dsplit : Split array into multiple sub-arrays along the 3rd axis (depth).
- concatenate : Join arrays together.
+ concatenate : Join a sequence of arrays along an existing axis.
+ stack : Join a sequence of arrays along a new axis.
hstack : Stack arrays in sequence horizontally (column wise).
vstack : Stack arrays in sequence vertically (row wise).
dstack : Stack arrays in sequence depth wise (along third dimension).