Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HDF5文件和创建的文件有区别PyTables吗?
HDF5
PyTables
PyTables有两个功能.isHDFfile(),.isPyTablesFile()提示两种格式有区别。
.isHDFfile()
.isPyTablesFile()
我在 Google 上做了一些环顾四周,并收集到 PyTables 是建立在 HDF 之上的,但除此之外我找不到更多。
我对互操作性、速度和开销特别感兴趣。
谢谢。
PyTables 文件是 HDF5 文件。
但是,据我了解,PyTables 为 HDF 文件中每个条目的属性添加了一些额外的元数据。
如果您正在为 python/numpy 寻找更“普通”的 hdf5 解决方案,请查看h5py.
h5py
它不像 PyTables 那样像数据库(即不像“表”),并且没有那么多漂亮的查询功能,但在我看来它更直接。如果您要从多种不同语言访问 hdf5 文件,h5py这可能是一个更好的途径。