def scale_census_variables(census):
    """
    Function to scale Men, Women, Employed and Citizen
    variables in census by TotalPop to get a percentage.
    Input: dataframe of census data.
    Output: dataframe of census data scaled to population (%).
    """
    census.Men = 100*census.Men/census.TotalPop
    census.Women = 100*census.Women/census.TotalPop
    census.Citizen = 100*census.Citizen/census.TotalPop
    census.Employed = 100*census.Employed/census.TotalPop
    return census