NumPy

numpy.ndarray.prod

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.

See also

numpy.prod

equivalent function

Previous topic

numpy.ndarray.partition

Next topic

numpy.ndarray.ptp