Standard Deviation

Calculate the standard deviation of an array of numbers.

Code

General
import statistics
return statistics.pstdev(arr)

Parameters

Array of numbers

Server

More Python Snippets