Numpy *.npz internal file structure
can anyone sh开发者_高级运维are some info about internal data organization in *.npz ? Some documentation etc.. Just can't find anything..
Here are the docs:
- Format of .npz files, referring to the
- Format of .npy files
That said, I would not recommend trying to read or write files in this format yourself. It's fine for writing from NumPy and reading in with NumPy again. But if you want to write or read a file from a different environment, then use a more standard format like HDF5 or NetCDF which is supported by both environments.
npz is a simple zip archive, which contains numpy files. Simple review of internal structure of ZIP can be found here http://en.wikipedia.org/wiki/ZIP_(file_format)
精彩评论