반응형
#1. source data
print(df_age_error.info())
#2. seaborn
import seaborn as sns
sns.boxplot(y='pred-true', x='age_gp', data=df_age_error)
reference : https://cmdlinetips.com/2019/03/how-to-make-grouped-boxplots-in-python-with-seaborn/
How To Make Grouped Boxplots in Python with Seaborn? - Python and R Tips
Boxplots are one of the most common ways to visualize data distributions from multiple groups. In Python, Seaborn potting library makes it easy to make boxplots and similar plots swarmplot and stripplot. Sometimes, your data might have multiple subgroups a
cmdlinetips.com