Suggestion/Discussion: read_hdf · Issue #7715 · 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

@vfilimonov

Description

@vfilimonov

At the moment read_hdf is implemented such way that it opens HDFStore connection immediately when it is called. If the file does not exist, then it creates an HDF file and then throws KeyError. There are two side effects:

I suggest to check if the file exist before and throw IOError if it does not.