

@resource.register('hdfstore://.+', priority=11)
def resource_hdfstore(uri, datapath=None, dshape=None, **kwargs):
    fn = uri.split('://')[1]
    try:
        f = pd.HDFStore(fn, **filter_kwargs(pd.HDFStore, kwargs))
    except RuntimeError as e:
        raise type(e)(pytables_h5py_explanation)
    if (dshape is None):
        return (f.get_storer(datapath) if datapath else f)
    dshape = datashape.dshape(dshape)
    if (datapath in f):
        return f.get_storer(datapath)
    return EmptyHDFStoreDataset(f, datapath, dshape)

dataset/ETHPy150Open blaze/odo/odo/backends/hdfstore.py resource_hdfstore/original