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.

Print np.arange(12) as 3 rows and 4 columns. The product of the new shape must equal the number of items.

1

Your solution

2

Scratch