-
-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Conversation
@@ -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. |
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?
To answer your earlier question:
Row is always first axis, column is always second axis and depth is always third, no matter how many axes the array has. |
Exactly, that's why I specified the axis as 'the' row axis, rather than 'an' axis. I'm no expert on the usage of definite vs indefinite articles though.. Thanks for the clarification! |
In that case you were probably correct. Sorry for making you change that. |
Perhaps you could say something like "... the existing row (first) axis ..."? |
I commented in the original issue, but just be to clear I'm -1 on this change until it's resolved. |
DOC: add vstack, hstack, dstack reference to stack documentation.
Thanks @aukejw . |
@charris I just said I'm -1 on this change! Can we revert? |
See issue #7183.