Data analysis labNumPy problems

Problem 20 of 50 · Masks · Medium

A closed interval

Combine two comparisons with `&`.

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

From np.arange(10), print the values from 3 through 7 inclusive. Combine the masks with &, and put each comparison in parentheses.

1

Your solution

2

Scratch