新网创想网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
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
|
---|