Turn v from shape (4,) into a column of shape (4, 1)
NumPy · from Reshaping and transposing
.reshape-1.ravel.flatten.Tnp.newaxis.transposePutting the kettle on…
Starting up…
Exercise 3
Turn v from shape (4,) into a column of shape (4, 1).
your answer
stuck? the lesson behind it
Reshaping and transposing
The memory never moves — only the rule for walking it.