maxframe.liteframe.LiteFrame.rdiv#
- LiteFrame.rdiv(other)#
Reverse element-wise true division (
other / lf).Bound to
__rtruediv__, soother / lfis equivalent tolf.rdiv(other).- Parameters:
other (scalar, LiteFrame, or column expression) – Value divided by each element of
lf.- Returns:
Lazy frame with element-wise quotient of
otherandlf.- Return type:
Examples
>>> import maxframe.liteframe as mlf >>> lf = mlf.LiteFrame({'a': [2, 4]}) >>> result = lf.rdiv(8) >>> result.execute() a 0 4.0 1 2.0
Using reverse
/:>>> result = 8 / lf >>> result.execute() a 0 4.0 1 2.0