def harmonize_dataframe(df):
    """Harmonizes column names and datatypes

    Parameters
    ----------
    df : pd.DataFrame
        Dataframe to harmonize

    Returns
    -------
    pd.DataFrame
    """
    df = df.copy()
    df = df.rename(
        {
            'rt_num': 'route_number',
            'school_nam': 'school_name',
            'schoolid': 'school_id'
        },
        axis='columns')[[
            'school_name', 'school_id', 'school_year', 'route_number',
            'geometry'
        ]]
    df['route_number'] = df['route_number'].astype('int64')
    df['school_id'] = df['school_id'].astype('int64')
    return df