This content originally appeared on DEV Community and was authored by Njeri Kimaru
If you've ever looked at a histogram and thought, "Hmm... this looks weirdly stretched or tilted," you're not alone. What you're noticing might be skewness or kurtosis — two important concepts in statistics that describe the shape of a distribution.
📈 What is Skewness?
Skewness tells us about the asymmetry of a distribution.
positive skewed:
Tail stretches more on the right. Mean > Median.
negatively skewed:
Tail stretches more on the left. Mean < Median.
Zero skewness:
Perfectly symmetrical (like a normal distribution).
💡 Example in Python:
python
import scipy.stats as stats
import numpy as np
data = np.random.exponential(scale=2, size=1000)
print("Skewness:", stats.skew(data))
This content originally appeared on DEV Community and was authored by Njeri Kimaru

Njeri Kimaru | Sciencx (2025-10-02T11:21:38+00:00) Understanding Skewness and Kurtosis: A Friendly Guide for Data Enthusiasts. Retrieved from https://www.scien.cx/2025/10/02/understanding-skewness-and-kurtosis-a-friendly-guide-for-data-enthusiasts/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.