weixin_39875167的博客我正在尝试用Python读取h5文件。该文件可以在this link中找到,名为“vstoxx_data_31032014.h5”。我试图运行的代码来自Yves Hilpisch的《Python for Finance》一书,内容如下:import pandas as pdh5 = pd.HDFStore...
所以暂时将你眼睛的博客How do I see what variables, datasets, ... a given .h5 file has in Python?I can read the file by running thisimport h5pyf = h5py.File(filename, 'r')How can I now see which variables my .h5 file have?...