mean#
- rbc.stdlib.statistical_functions.mean(x)#
Calculates the arithmetic mean of the input array x.
Examples
>>> from rbc.stdlib import array_api >>> @heavydb('double(double[])') ... def array_api_mean(arr): ... return array_api.mean(arr) >>> array_api_mean([1.0, 3.0, 2.0]).execute() 2.0