Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Intro to Seaborn!
You have completed Intro to Seaborn!
Preview
Recall that Seaborn's barplot will aggregate the mean as an estimation of central tendency; whereas the count plot will return a plot of individual observations.
Challenge
- For each Attribute:
- What is the mean Attack Points?
- What is the count of monsters?
Solution
sns.barplot(data=monsters, x='Attributes', y='Attack_Points')
sns.countplot(data=monsters, x='Attributes')
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
For each attribute, what is the mean or
average attack points?
0:00
And what is the count of monsters?
0:02
Hint, use sns bar plot and sns catplot.
0:04
Recall that Seaborn's bar
plot will aggregate the mean
0:10
as an estimation of central tendency,
0:13
whereas the count plot will return
a plot of individual observations.
0:16
Pause me and try it out.
0:21
Okay, how did it go?
0:24
Here are my solutions.
0:27
For the bar plot, sns.barplot,
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up