BuildlyBuildly
DashboardExercisesProfileHelp
Data Science/Module 4: Data Visualization/Seaborn Categorical1/3
Exercise·7 min·10 XP

Average Score per Class

Context. Three classes, two test scores each. The question is which class averages highest — and sns.barplot aggregates for you.

Your task. Write make_class_averages(df) that draws a seaborn bar plot of score per class with errorbar=None, sets a title mentioning "Average", and returns the axes.

Example. Class A's bar lands at 80 — the mean of 78 and 82.

Notes. barplot shows the mean per category by default. errorbar=None hides the uncertainty whiskers.

Previous
Count Orders by Status
Next
Quarterly Sales Heatmap