mean

mpsci.stats.mean(x, weights=None)

Mean of the values in the sequence x.

Negative values in weights are allowed. The only constraint is that sum(weights) is not zero.