COMPAT: reading generic PyTables Table format fails with sub-selection · Issue #11188 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@rabernat

Description

@rabernat

I created a file using pytables, and now I would like to read it into pandas. My (naive) expectation was that these two tools were compatible. But I am getting an error

pd.read_hdf(output_fname, '/floats/trajectories', start=0, stop=10)

gives

ValueError: Shape of passed values is (1, 10), indices imply (1, 753664023)

The file is 44 GB, so I can't really post it. I would be happy to post the h5dump --head metadata if that would help.

(Cross post with dask/dask#747.)