>>> import numpy as np
>>> a=np.array([[1,2],[3,4],[5,6]])
>>> a
array([[1, 2],
[3, 4],
[5, 6]])
>>> b=np.array([11,12,13,14])
>>> b
array([11, 12, 13, 14])
>>> np.savez_compressed("testfile.npz", a=a, b=b)
>>> v=np.load("testfile.npz")
>>> v['a']
array([[1, 2],
[3, 4],
[5, 6]])
>>> v['b']
array([11, 12, 13, 14])