Answers for "KeyError: "['Adult Mortality' 'infant deaths' 'Alcohol' 'percentage expenditure'] not found in axis" site:stackoverflow.com"

C
0

KeyError: "['Adult Mortality' 'infant deaths' 'Alcohol' 'percentage expenditure'] not found in axis" site:stackoverflow.com

df.drop(['Adult Mortality','infant deaths','Alcohol','percentage expenditure','Total expenditure'], axis=1,inplace=True)
Posted by: Guest on July-21-2021

Code answers related to "KeyError: "['Adult Mortality' 'infant deaths' 'Alcohol' 'percentage expenditure'] not found in axis" site:stackoverflow.com"

Code answers related to "C"

Browse Popular Code Answers by Language