maxframe.liteframe.LiteFrame.rfloordiv#

LiteFrame.rfloordiv(other)#

Reverse element-wise floor division (other // lf).

Bound to __rfloordiv__, so other // lf is equivalent to lf.rfloordiv(other).

Parameters:

other (scalar, LiteFrame, or column expression) – Value floor-divided by each element of lf.

Returns:

Lazy frame with element-wise floored quotient of other and lf.

Return type:

LiteFrame

Examples

>>> import maxframe.liteframe as mlf
>>> lf = mlf.LiteFrame({'a': [2, 3]})
>>> result = lf.rfloordiv(9)
>>> result.execute()
   a
0  4
1  3

Using reverse //:

>>> result = 9 // lf
>>> result.execute()
   a
0  4
1  3