StandardDeviation()
Source¶
Bases: Statistic
Standard deviation of the values, how far they spread around the mean.
[10, 10, 10] gives 0, while [0, 10, 20] gives about 8.2. It is the population standard
deviation, divided by the number of values as in numpy, not by that number minus one as in pandas.
Missing values are ignored.
Added in version 0.1.0
Examples:
import numdaplot as ndp
grades = ndp.Array.from_list([8, 12])
grades.compute(ndp.StandardDeviation()).to_value()
# 2.0