格式= table,pandas pytables时hdf5错误

时间:2014-11-17 03:16:26

标签: python pandas hdf5 pytables hdf

似乎我在format=table时收到错误,但format=fixed没有错误。这是命令。奇怪的是,它似乎仍然在加载数据。我只需想办法超越这个。它会让我安心,不会有任何错误。数据框是预处理的,类型在列中设置。

我运行的命令是:

hdf = pd.HDFStore('path-to-file')

hdf.put('df',df,format='table')

我得到的错误是:

HDF5ExtError: HDF5 error back trace

  File "../../../src/H5Dio.c", line 182, in H5Dread
    can't read data
  File "../../../src/H5Dio.c", line 550, in H5D__read
    can't read data
  File "../../../src/H5Dchunk.c", line 1837, in H5D__chunk_read
    unable to read raw data chunk
  File "../../../src/H5Dchunk.c", line 2863, in H5D__chunk_lock
    unable to read raw data chunk
  File "../../../src/H5Fio.c", line 113, in H5F_block_read
    read through metadata accumulator failed
  File "../../../src/H5Faccum.c", line 258, in H5F_accum_read
    driver read request failed
  File "../../../src/H5FDint.c", line 142, in H5FD_read
    driver read request failed
  File "../../../src/H5FDsec2.c", line 725, in H5FD_sec2_read
    file read failed: time = Mon Nov 17 01:25:35 2014

0 个答案:

没有答案