pandas.core.resample.Resampler.prod#

Resampler.prod(_method='prod', min_count=0, *args, **kwargs)[源代码]#

计算组值的Prod。

参数
numeric_only布尔值,默认为True

包括浮点型、整型、布尔型列。如果没有,将尝试使用所有内容,然后仅使用数字数据。

min_count整型,默认为0

执行操作所需的有效值数。如果少于 min_count 如果存在非NA值,则结果将为NA。

退货
系列或DataFrame

每组内数值的计算结果。