maxframe.liteframe.LiteFrame.gt#
- LiteFrame.gt(other)#
Element-wise greater-than comparison.
Bound to the
>operator (__gt__), solf > otheris equivalent tolf.gt(other)for non-LiteFrameother.- Parameters:
other (scalar, LiteFrame, or LiteFrame column expression) – Value or LiteFrame to compare against.
- Returns:
Lazy boolean LiteFrame indicating where elements are greater than
other.- Return type:
Examples
>>> import maxframe.liteframe as mlf >>> lf = mlf.LiteFrame({'a': [1, 2, 3]}) >>> result = lf.gt(2) >>> result.execute() a 0 False 1 False 2 True
Using the
>operator:>>> result = lf > 2 >>> result.execute() a 0 False 1 False 2 True