Reshape a into 2 rows, letting NumPy work out the columns

NumPy · from Reshaping and transposing

.reshape-1.ravel.flatten.Tnp.newaxis.transpose

Putting the kettle on…

Starting up…

Exercise 1

Reshape a into 2 rows, letting NumPy work out the columns.

your answer
stuck? the lesson behind it
Reshaping and transposing
The memory never moves — only the rule for walking it.