array.avg
Average of the elements that are not na (na when there are none).
array.avg(id: array<int/float>) -> float
Parameters
idarray<int/float>: An array of numbers; its na elements are skipped. na stops the script with a runtime error.
Example
mean = a.avg()