maxframe.liteframe.LiteFrame.rrshift#

LiteFrame.rrshift(other)#

Reverse element-wise right bit shift (other >> lf).

Bound to __rrshift__, so other >> lf is equivalent to lf.rrshift(other).

Parameters:

other (scalar, LiteFrame, or column expression) – Integer value shifted right by each element of lf.

Returns:

Lazy frame with other shifted right by each element of lf.

Return type:

LiteFrame

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