maxframe.liteframe.LiteFrame.rmul#
- LiteFrame.rmul(other)#
Reverse element-wise multiplication (
other * lf).Bound to
__rmul__, soother * lfis equivalent tolf.rmul(other).- Parameters:
other (scalar, LiteFrame, or column expression) – Value multiplied with each element of
lffrom the left.- Returns:
Lazy frame with element-wise product of
otherandlf.- Return type:
Examples
>>> import maxframe.liteframe as mlf >>> lf = mlf.LiteFrame({'a': [2, 3]}) >>> result = lf.rmul(4) >>> result.execute() a 0 8 1 12
Using reverse
*:>>> result = 4 * lf >>> result.execute() a 0 8 1 12