Drills tagged with this skill, unpassed first. Pass them all to mark the skill ready for scenarios.
make_hist(df) that draws a seaborn histogram of the rating column with 5 bins, and returns the axes.
Example. sns.histplot(...) with x="rating" and bins=5.
Notes. Seaborn functions return the matplotlib axes they drew on — return that directly.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(...).make_grouped_hist(df) that draws a seaborn histogram of steps with 4 bins, split by plan using hue, and returns the axes.
Example. hue="plan" colors each plan separately — and adds the legend for you.
Notes. No manual legend() call needed; seaborn builds it from the hue values.