Series.rmul

Series.rmul(left: Series) Series

Return multiplication of series and left, element-wise (binary operator mul).

Parameters

left: opensearch_py_ml.Series

Returns

opensearch_py_ml.Series

Examples

>>> from tests import OPENSEARCH_TEST_CLIENT
>>> df = oml.DataFrame(OPENSEARCH_TEST_CLIENT, 'ecommerce').head(5)
>>> df.taxful_total_price
0     36.98
1     53.98
2    199.98
3    174.98
4     80.98
Name: taxful_total_price, dtype: float64
>>> 10.0 * df.taxful_total_price
0     369.799995
1     539.799995
2    1999.799957
3    1749.799957
4     809.800034
Name: taxful_total_price, dtype: float64