array.variance
Variance of the elements that are not na. biased=true divides by n (population), false by n - 1 (sample).
array.variance(id: array<int/float>, biased: bool = true) -> float
Parameters
idarray<int/float>: An array of numbers; its na elements are skipped. na stops the script with a runtime error.biasedbool: true (default) divides by the count (the population), false by the count - 1 (a sample; na with fewer than 2 values).
Example
v = a.variance(false)