Data analysis labNumPy problems

Problem 18 of 50 · Masks · Medium

Clip into a range

Force every value into 0 through 100.

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

Scores are [-5, 40, 120, 80]. Print them clipped so nothing is below 0 or above 100. Use np.clip.

1

Your solution

2

Scratch