image_output_1.png
import pandas as pd

import seaborn as sns

wdi_data = pd.read_csv('/kaggle/input/world-demographic-indicators-extract/wdi_wide.csv')
wdi_data

features = ['Internet use', 'International tourism', 'Life expectancy, female', 'Life expectancy, male', 'Physicians', 'Population', 'Women in national parliament', 'Tertiary education, female', 'Tertiary education, male', 'Greenhouse gas emissions', 'High Income Economy', 'GNI per capita']
wdi_data.groupby('High Income Economy')[features].mean().round(2)

sns.catplot(data=wdi_data, kind='box', x='Life expectancy, female', y='Region', aspect=2)