summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorgamboon <64479818+gamboon@users.noreply.github.com>2020-04-28 09:36:11 -0400
committerGitHub <noreply@github.com>2020-04-28 09:36:11 -0400
commitb1bcaa1ce9689842b5d80aed6470be5d46923707 (patch)
tree8b3acebd8023703974bf01ff5b8b52dfde922857 /doc
parente67737e2e63e36161c8f80715c0a347e46a06d91 (diff)
downloadnumpy-b1bcaa1ce9689842b5d80aed6470be5d46923707.tar.gz
trivial: Improve grammar on a comment in the quickstart
This is a documentation change changing the following comment "this allows to have a 2D columns vector" to "view `a` as a 2D column vector" Rationale: - "allows to" and "columns vector" don't read well
Diffstat (limited to 'doc')
-rw-r--r--doc/source/user/quickstart.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/user/quickstart.rst b/doc/source/user/quickstart.rst
index 6ad0e52f9..29a4d80ca 100644
--- a/doc/source/user/quickstart.rst
+++ b/doc/source/user/quickstart.rst
@@ -760,7 +760,7 @@ stacks 1D arrays as columns into a 2D array. It is equivalent to
[2., 8.]])
>>> np.hstack((a,b)) # the result is different
array([4., 2., 3., 8.])
- >>> a[:,newaxis] # this allows to have a 2D columns vector
+ >>> a[:,newaxis] # view `a` as a 2D column vector
array([[4.],
[2.]])
>>> np.column_stack((a[:,newaxis],b[:,newaxis]))