API: HDFStore closing is buggy · Issue #4409 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@michaelaye

Description

@michaelaye

Testing and playing with HDFStores a lot, I have found several times that a store.close() leaves things hanging, like this:

store.close()

no output

store ClosedFileError: the file object is closed df.to_hdf('test.h5','df',data_columns=['A','B'],mode='w',table=True) ValueError: The file 'test.h5' is already opened. Please close it before reopening in write mode.

The store was opened with 'test.h5' as filename.

pandas version 0.12.0