This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.ndarray.mean

ndarray.mean(axis=None, dtype=None, out=None)

Returns the average of the array elements along given axis.

Refer to numpy.mean for full documentation.

See also

numpy.mean
equivalent function

Previous topic

numpy.ndarray.cumsum

Next topic

numpy.ndarray.var

This Page

Quick search