def dict_reformat_keys(obj, format_func):
    """Convert a dictionary's keys from one string format to another.

    Parameters
    ----------
    obj : dict
        A dictionary with keys that need to be reformatted
    format_func : function
        Will execute on each key on the dict

    Returns
    -------
    dict
        A new dictionary with formatted keys

    """
    return {format_func(key): value for key, value in obj.items()}