Data analysis labNumPy problems

Problem 15 of 50 · Masks · Easy

Keep the values above 10

Filter an array with a boolean mask.

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

From [4, 11, 9, 15, 10, 18], print only the values strictly greater than 10.

1

Your solution

2

Scratch