Data analysis labNumPy problems

Problem 14 of 50 · Index and slice · Medium

The last two columns

Slice a column range from a matrix.

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

Print the last two columns of the table. Columns 1 and 2, every row. The stop index is exclusive, so go through column index 3.

1

Your solution

2

Scratch