save as numpy array code example Example: np.save function np.save('data.npy', num_arr) # save new_num_arr = np.load('data.npy') # load