理解prod agg in Python

  • prod

    numpy.prod(a, axis=None, dtype=None, out=None, keepdims=)
    
    Paramstypemean
    aarray_likeinput data
    axisNone or int or tuple of ints, its optionalIt’s the Axis along which a product is performed.
    dtypedtypetype of the returned array
    outnadarrayAlternative output array in chich to place the result
    keepdimsbool

    numpy.prod() returns the product of array elements over a given axis.

©️2020 CSDN 皮肤主题: 技术黑板 设计师:CSDN官方博客 返回首页