ID EN
Statistics

pstdev

Python 3.11

Return the population standard deviation (the square root of the population variance). See pvariance() for arguments and other details.

Syntax

PYTHON
statistics.pstdev(data, mu=None)

Examples

Example 1
PYTHON
>>> pstdev([1.5, 2.5, 2.5, 2.75, 3.25, 4.75])
0.986893273527251

See Also

pvariance()