Print np.arange(12) as 3 rows and 4 columns. The product of the new shape must equal the number of items.
Data analysis labNumPy problems
Problem 33 of 50 · Shape · Easy
Reshape into a table
Turn 12 numbers into a 3 by 4 table.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2