Make a (2, 5) array of zeros with dtype int

NumPy · from Making arrays

np.zerosnp.onesnp.fullnp.arangenp.linspacenp.eyedefault_rng

Putting the kettle on…

Starting up…

Exercise 1

Make a (2, 5) array of zeros with dtype int.

your answer
stuck? the lesson behind it
Making arrays
zeros, ones, arange, linspace, eye, random — pick a shape, then a filling rule.