Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
life_expectancy.rename(columns = {" BMI " :"BMI",
"Life expectancy ": "Life_expectancy",
"Adult Mortality":"Adult_mortality",
"infant deaths":"Infant_deaths",
"percentage expenditure":"Percentage_expenditure",
"Hepatitis B":"HepatitisB",
"Measles ":"Measles",
"under-five deaths ": "Under_five_deaths",
"Total expenditure":"Total_expenditure",
"Diphtheria ": "Diphtheria",
" thinness 1-19 years":"Thinness_1-19_years",
" thinness 5-9 years":"Thinness_5-9_years",
" HIV/AIDS":"HIV/AIDS",
"Income composition of resources":"Income_composition_of_resources"}, inplace = True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment