polars.Series.product#

Series.product() int | float[source]#

Reduce this Series to the product value.

Examples

>>> s = pl.Series("a", [1, 2, 3])
>>> s.product()
6