Open and view .npz file in Python
Python provides "npzviewer" to open .npz files
pip install npzviewer
npzviewer [-h] [-v] [npzfile]
https://pypi.org/project/npzviewer/
np.savez_compressed('filename.npz', array1=array1, array2=array2)
b = np.load('filename.npz')
And do b['array_1'], b['array_2'] and so on to retrieve data from each array.