Numpy *.npz internal file structure

后端 未结 2 2107
我寻月下人不归
我寻月下人不归 2021-02-19 14:18

can anyone share some info about internal data organization in *.npz ? Some documentation etc.. Just can\'t find anything..

2条回答
  •  萌比男神i
    2021-02-19 15:06

    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.

提交回复
热议问题