def _dol_to_lod(dol):
    """Convert a dict-of-lists into a list-of-dicts.
    
    Reverse transformation of :func:`_lod_to_dol()`.
    """
    keys = list(dol.keys())
    lod = []
    for i in range(len(dol[keys[0]])):
        lod.append({k: v[i] for k, v in dol.items()})
    return lod