8000 Merge pull request #7191 from aukejw/stack_documentation · numpy/numpy@99cd634 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99cd634

Browse files
committed
Merge pull request #7191 from aukejw/stack_documentation
DOC: add vstack, hstack, dstack reference to stack documentation.
2 parents 4c972e9 + 735182c commit 99cd634

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

numpy/core/shape_base.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def vstack(tup):
199199
--------
200200
stack : Join a sequence of arrays along a new axis.
201201
hstack : Stack arrays in sequence horizontally (column wise).
202-
dstack : Stack arrays in sequence depth wise (along third dimension).
202+
dstack : Stack arrays in sequence depthwise (along third dimension).
203203
concatenate : Join a sequence of arrays along an existing axis.
204204
vsplit : Split array into a list of multiple sub-arrays vertically.
205205
@@ -250,7 +250,7 @@ def hstack(tup):
250250
--------
251251
stack : Join a sequence of arrays along a new axis.
252252
vstack : Stack arrays in sequence vertically (row wise).
253-
dstack : Stack arrays in sequence depth wise (along third axis).
253+
dstack : Stack arrays in sequence depthwise (along third axis).
254254
concatenate : Join a sequence of arrays along an existing axis.
255255
hsplit : Split array along second axis.
256256
@@ -304,6 +304,9 @@ def stack(arrays, axis=0):
304304
See Also
305305
--------
306306
concatenate : Join a sequence of arrays along an existing axis.
307+
vstack : Stack arrays vertically, along an existing row axis.
308+
hstack : Stack arrays horizontally, along an existing column axis.
309+
dstack : Stack arrays depthwise, along an existing third axis.
307310
split : Split array into a list of multiple sub-arrays of equal size.
308311
309312
Examples

0 commit comments

Comments
 (0)
0