Data analysis labNumPy problems

Problem 37 of 50 · Shape · Medium

Place two columns side by side

Turn two column vectors into a 3 by 2 table.

Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.

left and right are length 3. Print a 3 by 2 table with left as column 0 and right as column 1. Reshape each with (-1, 1), then np.hstack.

1

Your solution

2

Scratch