Series.rfloordiv

Series.rfloordiv(left: Series) Series

Return integer division of series and left, element-wise (binary operator floordiv //).

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    13.0
1     9.0
2     2.0
3     2.0
4     6.0
Name: taxful_total_price, dtype: float64