Data analysis labNumPy problems

Problem 2 of 50 · Create arrays · Easy

A row of zeros

Allocate a length-5 array filled with zeros.

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

Print a length-5 array of zeros. Use np.zeros, not a Python loop.

1

Your solution

2

Scratch