Save a to "x.npy", load it back, and return the loaded array's dtype

NumPy · from Saving and loading

np.savenp.loadnp.saveznp.savetxtnp.genfromtxtmmap_mode

Putting the kettle on…

Starting up…

Exercise 1

Save a to "x.npy", load it back, and return the loaded array's dtype. It should still be int64.

your answer
stuck? the lesson behind it
Saving and loading
Binary keeps everything; text loses your dtypes. Know which you want.