理解prod agg in Python

  • prod

    numpy.prod(a, axis=None, dtype=None, out=None, keepdims=)
    
    Params type mean
    a array_like input data
    axis None or int or tuple of ints, its optional It’s the Axis along which a product is performed.
    dtype dtype type of the returned array
    out nadarray Alternative output array in chich to place the result
    keepdims bool

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

猜你喜欢

转载自blog.csdn.net/The_Time_Runner/article/details/109277081
今日推荐