Series.rmod
- Series.rmod(left: Series) Series
Return modulo of series and left, element-wise (binary operator mod %).
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 >>> 500.0 % df.taxful_total_price 0 19.260006 1 14.180004 2 100.040009 3 150.040009 4 14.119980 Name: taxful_total_price, dtype: float64