scipy.stats.mean

scipy.stats.mean(a, axis=0)

Returns the arithmetic mean of m along the given dimension.

That is: (x1 + x2 + .. + xn) / n

Parameters:

a : array

axis : int or None

Returns:

The arithmetic mean computed over a single dimension of the input array or :

all values in the array if axis=None. The return value will have a floating :

point dtype even if the input data are integers. :

Previous topic

scipy.stats.hmean

Next topic

scipy.stats.cmedian

This Page

Quick search