def _reconstruct_input_from_dict(x):
    """Reconstruct input from dict back to a list or single object.

    Parameters
    ----------
    x : dict

    Returns
    -------
    out : pandas.DataFrame or pandas.Series or callable or list

    """
    out = list(x.values())

    if len(out) == 1:
        out = out[0]

    return out