Answers for "how to save and load data npy"

0

how to save and load data npy

np.save('test3.npy', a)    # .npy extension is added if not given
d = np.load('test3.npy')
a == d
# array([ True,  True,  True,  True], dtype=bool)
Posted by: Guest on May-22-2021

Python Answers by Framework

Browse Popular Code Answers by Language