Suggestion/Discussion: read_hdf (original) (raw)

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.