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

Box Plot of Scores by Team

Context. Two teams, five scores each. A box plot compares the two distributions in one look — and its center line is the median.

Your task. Two parts: (1) write make_box(df) that draws a seaborn box plot with team on x and score on y, returning the axes; (2) set median_a to team A's median score, as a float.

Example. The line inside team A's box sits exactly at median_a.

Notes. For the median: filter the team A rows, take the score column, call .median(), wrap in float(...).

Previous
Histogram of Review Ratings
Next
Compare Two Groups in One Histogram