

@discover.register(pd.HDFStore)
def discover_hdfstore(f):
    d = dict()
    for key in f.keys():
        d2 = d
        key2 = key.lstrip('/')
        while ('/' in key2):
            (group, key2) = key2.split('/', 1)
            if (group not in d2):
                d2[group] = dict()
            d2 = d2[group]
        d2[key2] = f.get_storer(key)
    return discover(d)

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