Files

9 lines
697 B
Markdown
Raw Permalink Normal View History

2026-06-15 15:26:18 +02:00
# Histogram
2026-06-16 13:12:17 +02:00
A histogram groups numeric values into bins and shows the count or frequency of each bin as a bar. It is the primary tool for visualizing the distribution of a single variable: its shape, center, spread, and whether it is skewed or has multiple peaks. `df['col'].hist()` and Matplotlib's `plt.hist()` are the standard ways to create one.
Visit the following resources to learn more:
- [@official@matplotlib.pyplot.hist](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.hist.html)
- [@article@Matplotlib Histograms](https://www.w3schools.com/PYTHON/matplotlib_histograms.asp)
- [@video@Matplotlib histograms in 6 minutes! 🔔](https://www.youtube.com/watch?v=2E6fDoz7LuU)