hdf5 error when format=table, pandas pytables

▼魔方 西西 提交于 2019-12-08 09:05:09

问题


It seems that I get an error when format=table but no error with format=fixed. Here is the command. What's weird is that it still seems to load the data. I just have to figure out a way to move past this. And it would give me peace of mind to not have any error. The dataframe is preprocessed, types set within the columns.

The command I run is:

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

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

The error I get is:

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

来源:https://stackoverflow.com/questions/26964964/hdf5-error-when-format-table-pandas-pytables

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!