import numpy as np data = np.arange(100).reshape(1, 100) print(np.array_str(data)) np.save('data.npy', data)