maxframe.liteframe.LiteFrame.rrshift#
- LiteFrame.rrshift(other)#
Reverse element-wise right bit shift (
other >> lf).Bound to
__rrshift__, soother >> lfis equivalent tolf.rrshift(other).- Parameters:
other (scalar, LiteFrame, or column expression) – Integer value shifted right by each element of
lf.- Returns:
Lazy frame with
othershifted right by each element oflf.- Return type:
Examples
>>> import maxframe.liteframe as mlf >>> lf = mlf.LiteFrame({'a': [1, 2]}) >>> result = lf.rrshift(16) >>> result.execute() a 0 8 1 4
Using reverse
>>:>>> result = 16 >> lf >>> result.execute() a 0 8 1 4