Challenge: Histogram and Kernel Density Estimation2:43 with AJ Tran
Make a histogram to find out the distribution of Attack Points. Then use a kernel density estimation plot to find the distribution of Defense Points as a probability curve.
- What is the distribution of:
- Attack Points?
- Defense Points?
sns.histplot(data=monsters, x='Attack Points', kde=True) sns.kdeplot(data=monsters, x='Defense Points')
You need to sign up for Treehouse in order to download course files.Sign up