pandas.core.groupby.GroupBy.prod

GroupBy.prod(self, **kwargs)[source]

Compute prod of group values.

Returns:
Series or DataFrame

Computed prod of values within each group.

Scroll To Top