Plotting Density Plots
Kernel Density Plots, and Density plots, are basically the same thing and allow you to estimate the probability density function of a random variable.
When to use
Use the methods whenever you want to chart the kernel density of your data.
The first method of creating a kernel density plot is:
The second method of creating a kernal density plot is:
You need scipy to run a kde plot. From inside the terminal, run:
pip install scipy
Hints & tips
- pip install scipy
Lesson notes are only available for subscribers.