summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-02-05 11:39:36 -0700
committerCharles Harris <charlesr.harris@gmail.com>2016-02-05 11:39:36 -0700
commit99cd63471583f5bd660ff9c09ad94f736f372b4d (patch)
tree061a79da70e45c17830a52cbdfb1bfa61922c087 /numpy
parent4c972e990bda981771a27366381c97681dc60e1c (diff)
parent735182ca4a48ae9ade7b4514e31e50069a0c2b32 (diff)
downloadnumpy-99cd63471583f5bd660ff9c09ad94f736f372b4d.tar.gz
Merge pull request #7191 from aukejw/stack_documentation
DOC: add vstack, hstack, dstack reference to stack documentation.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/shape_base.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/core/shape_base.py b/numpy/core/shape_base.py
index 599b48d82..646ee0e47 100644
--- a/numpy/core/shape_base.py
+++ b/numpy/core/shape_base.py
@@ -199,7 +199,7 @@ def vstack(tup):
--------
stack : Join a sequence of arrays along a new axis.
hstack : Stack arrays in sequence horizontally (column wise).
- dstack : Stack arrays in sequence depth wise (along third dimension).
+ dstack : Stack arrays in sequence depthwise (along third dimension).
concatenate : Join a sequence of arrays along an existing axis.
vsplit : Split array into a list of multiple sub-arrays vertically.
@@ -250,7 +250,7 @@ def hstack(tup):
--------
stack : Join a sequence of arrays along a new axis.
vstack : Stack arrays in sequence vertically (row wise).
- dstack : Stack arrays in sequence depth wise (along third axis).
+ dstack : Stack arrays in sequence depthwise (along third axis).
concatenate : Join a sequence of arrays along an existing axis.
hsplit : Split array along second axis.
@@ -304,6 +304,9 @@ def stack(arrays, axis=0):
See Also
--------
concatenate : Join a sequence of arrays along an existing axis.
+ vstack : Stack arrays vertically, along an existing row axis.
+ hstack : Stack arrays horizontally, along an existing column axis.
+ dstack : Stack arrays depthwise, along an existing third axis.
split : Split array into a list of multiple sub-arrays of equal size.
Examples