Descriptive Statistics Summary

easy
Checkpoint challenge
Solve this to show you know the material and jump straight to Unit 3. Everything before it counts as cleared.

Implement describe(x) returning a dict with:

  • n, mean, median
  • std: the sample standard deviation (ddof=1)
  • skew: 1n∑(x−xˉs0)3\frac{1}{n}\sum\left(\frac{x - \bar x}{s_0}\right)^3 using the population std s0s_0
  • kurtosis: excess kurtosis, 1n∑(x−xˉs0)4−3\frac{1}{n}\sum\left(\frac{x - \bar x}{s_0}\right)^4 - 3

Ignore NaN values.

#statistics#eda2 visible + 1 hidden tests
solution.py · Python 3.13
Loading editor…
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Descriptive Statistics Summary · TechGradify