I have an unknown .npz file and would like to see whats inside. I am very new to Python.
>>> import numpy
>>> b = numpy.load('data.npz')
>>> print(b.files)
['arr_1', 'arr_0', 'arr_3', 'arr_2']
How do I see what these arr_i
contain (i.e. dimension, values, etc.)?
b['arr_1']
I think anywaynumpy.savez_compressed()
andnumpy.load()
.