diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-04-29 23:39:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 23:39:17 +0300 |
commit | 909d6b8fabe2f0fcdeba6927e4506f19aae52f2e (patch) | |
tree | b5d044153c63dc09de5478e84eecc302a9227042 /doc | |
parent | 4cd98714b665b389833f1d8b4b1d2df9e12685ad (diff) | |
parent | b1bcaa1ce9689842b5d80aed6470be5d46923707 (diff) | |
download | numpy-909d6b8fabe2f0fcdeba6927e4506f19aae52f2e.tar.gz |
Merge pull request #16097 from gamboon/patch-1
MAINT, DOC: Improve grammar on a comment in the quickstart
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/user/quickstart.rst | 2 |
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])) |