标签: python pydev hdf5 liclipse
有一种方法可以在没有加载ram的情况下获得.hdf5的行数吗?
我在Liclipse(WIndows 10)上使用Python 3.4和pydev
谢谢你
答案 0 :(得分:1)
如果您使用h5py库,则只需运行len(dataset)或dataset.len()(建议使用)。
len(dataset)
dataset.len()
有关更多信息,请参阅here。