human
I wrote the below code

    def get_keys_stops_divisions(path, key, stop, sorted_index):
        '\n                                Get    the    "keys"    or    group    identifiers    which    match    the    given    key,    which\n                                can    contain    wildcards.    This    uses    the    hdf    file    identified    by    the\n                                given    path.    Also    get    the    index    of    the    last    row    of    data    for    each    matched\n                                key.\n                                '
        with pd.HDFStore(path, mode=mode) as hdf:
            keys = [k for k in hdf.keys() if fnmatch(k, key)]
            stops = []
            divisions = []
            for k in keys:
                storer = hdf.get_storer(k)
                if (storer.format_type != 'table'):
                    raise TypeError(dont_use_fixed_error_message)
                if (stop is None):
                    stops.append(storer.nrows)
                elif (stop > storer.nrows):
                    raise ValueError('Stop    keyword    exceeds    dataset    number    of    rows    ({})'.format(storer.nrows))
                else:
                    stops.append(stop)
                if sorted_index:
                    division_start = storer.read_column('index', start=0, stop=1)[0]
                    division_end = storer.read_column('index', start=(storer.nrows - 1), stop=storer.nrows)[0]
                    divisions.append([division_start, division_end])
                else:
                    divisions.append(None)
        return (keys, stops, divisions)
    def one_path_one_key(path, key, start, stop, columns, chunksize, division, lock):
        '\n                                Get    the    data    frame    corresponding    to    one    path    and    one    key    (which    should\n                                not    contain    any    wildcards).\n                                '
        empty = pd.read_hdf(path, key, mode=mode, stop=0)
        if...

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def _read_single_hdf(path, key, start=0, stop=None, columns=None, chunksize=int(1000000.0), sorted_index=False, lock=None, mode='a'):