Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created January 6, 2021 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/4e54e7e383cc2e733645ba22055ec0c0 to your computer and use it in GitHub Desktop.
Save amankharwal/4e54e7e383cc2e733645ba22055ec0c0 to your computer and use it in GitHub Desktop.
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