array.median
Median of the elements that are not na (mean of the two middle values for an even count; na when there are none).
array.median(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
mid = a.median()