1. mean() 函数定义:
numpy.mean(a, axis=None, dtype=None, out=None, keepdims=
)[source]
Compute the arithmetic mean along the specified axis.
Returns the average of the array elements. The average is taken over the flattened array by default, otherwise over the specified axis. float64intermediate and return values are used for integer inputs.
Parameters: |
a : array_like
axis : None or int or tuple of ints, optional
|
---|