We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64cc2ed commit 59f26b6Copy full SHA for 59f26b6
python-numpy-tutorial.md
@@ -907,7 +907,7 @@ print x + v
907
# [[ 5 6 7]
908
# [ 9 10 11]]
909
print (x.T + w).T
910
-# Another solution is to reshape w to be a row vector of shape (2, 1);
+# Another solution is to reshape w to be a column vector of shape (2, 1);
911
# we can then broadcast it directly against x to produce the same
912
# output.
913
print x + np.reshape(w, (2, 1))
0 commit comments