Distributions: hist, kde, box
Seeing the shape of one variable.
See the Shape of One Column
Before averages, look at the whole spread. A distribution plot shows how often each value appears across a single column.
The Histogram
A histogram drops values into bins and draws a bar for each. Tall bars mark the values that show up most often.
sns.histplot(data=df, x="age")All lessons in this course
- Why seaborn Over Raw matplotlib
- Distributions: hist, kde, box
- Relationships: scatter and line
- Facets, Hue, and Style