pandas.Series.product
pandas 3.1.1 · Series and accessors · method
Use prod to multiply values together.
Call syntax
Series.product(*, axis=None, skipna=True, numeric_only=False, min_count=0, **kwargs)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
axis |
Optional Keyword only Default None |
{index (0)} Choose which axis the operation acts on. The accepted axis labels depend on the receiver. |
skipna |
Optional Keyword only Default True |
bool Choose whether to exclude missing values during the calculation. |
numeric_only |
Optional Keyword only Default False |
bool Restrict the calculation to columns pandas considers numeric where applicable. |
min_count |
Optional Keyword only Default 0 |
int Require at least this many valid values before producing a nonmissing result. |
**kwargs |
Optional Additional keyword arguments |
Returns
scalar