Build an array from [1, 2, 3] forced to float64, then return its dtype to prove…

NumPy · from What an ndarray actually is

np.array.shape.ndim.dtype.itemsize.nbytes

Putting the kettle on…

Starting up…

Exercise 2

Build an array from [1, 2, 3] forced to float64, then return its dtype to prove it worked.

your answer
stuck? the lesson behind it
What an ndarray actually is
One type, one block of memory — and why everything else follows from that.