numpy.ndarray.prod — NumPy v2.2 Manual (original) (raw)

method

ndarray.prod(axis=None, dtype=None, out=None, keepdims=False, initial=1, where=True)#

Return the product of the array elements over the given axis

Refer to numpy.prod for full documentation.