-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
DOC: add vstack, hstack, dstack reference to stack documentation. #7191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -304,6 +304,11 @@ def stack(arrays, axis=0): | |
See Also | ||
-------- | ||
concatenate : Join a sequence of arrays along an existing axis. | ||
vstack : Stack arrays in sequence vertically, along the existing row axis. | ||
hstack : Stack arrays in sequence horizontally, along the existing | ||
column axis. | ||
dstack : Stack arrays in sequence depth wise, along the existing | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am pretty sure that "depthwise" is one word in this context. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For consistency, I would say yes, unless someone really likes it the old way and disagrees. |
||
third axis. | ||
split : Split array into a list of multiple sub-arrays of equal size. | ||
|
||
Examples | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"in sequence" is superfluous; "the existing" should be "an existing". Same applies to the other three additions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right about 'in sequence', I'll remove it -- it'll also fit on one line that way. There is only one 'row axis' though?