maxframe.liteframe.LiteFrame.radd#
- LiteFrame.radd(other)#
Reverse element-wise addition (
other + lf).Bound to
__radd__, soother + lfis equivalent tolf.radd(other).- Parameters:
other (scalar, LiteFrame, or column expression) – Value added to each element of
lffrom the left.- Returns:
Lazy frame with element-wise sum of
otherandlf.- Return type:
Examples
>>> import maxframe.liteframe as mlf >>> lf = mlf.LiteFrame({'a': [1, 2]}) >>> result = lf.radd(10) >>> result.execute() a 0 11 1 12
Using reverse
+:>>> result = 10 + lf >>> result.execute() a 0 11 1 12