maxframe.liteframe.LiteFrame.floordiv#

LiteFrame.floordiv(other)#

Element-wise floor division (lf // other).

Bound to the // operator (__floordiv__), so lf // other is equivalent to lf.floordiv(other).

Parameters:

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

Returns:

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

Return type:

LiteFrame

Examples

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

Using the // operator:

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