def make_rename_col_dict(cols, graduating_year):
    """
    Returns dictionary to rename columns respective to each graduating year
    e.g., 'GPA_2008' --> 'GPA_8th_grade' for students in class of 2012

    Returns
    ----------
    dict

    Parameters
    ----------
    cols : array
        list of all columns to rename
    graduating_year : int
        expected graduating year for a cohort
    """
    d = {col: col for col in cols}
    mappings = zip(range(8, 13), range(graduating_year-4, graduating_year+1))
    for grade, year in mappings:
        append = str(grade) + 'th_grade'
        temp = {col: col.replace(str(year), append) for col in cols if str(year) in col}
        d.update(temp)
    return d