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