bigframes.pandas.api.typing.SeriesGroupBy.prod#
- SeriesGroupBy.prod(*args) Series[source]#
Compute prod of group values. (DataFrameGroupBy functionality is not yet available.)
Examples:
For SeriesGroupBy:
>>> lst = ['a', 'a', 'b', 'b'] >>> ser = bpd.Series([1, 2, 3, 4], index=lst) >>> ser.groupby(level=0).prod() a 2.0 b 12.0 dtype: Float64
- Parameters:
- Returns:
Computed prod of values within each group.
- Return type: