20

I have no problem selecting content from a table within an HDF5 Store:

with pandas.HDFStore(data_store) as hdf:
    df_reader = hdf.select('my_table_id', chunksize=10000)

How can I get a list of all the tables to select from using pandas?

1

2 Answers 2

18

hdf.keys() returns a (potentially unordered) list of the keys corresponding to the objects stored in the HDFStore (link)

1

hdf.keys() just return the the name of groups or tables,my_table_id instead of column names.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.