Series.rtruediv
- Series.rtruediv(left: Series) Series
Return division of series and left, element-wise (binary operator div).
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 >>> 1.0 / df.taxful_total_price 0 0.027042 1 0.018525 2 0.005001 3 0.005715 4 0.012349 Name: taxful_total_price, dtype: float64