onetick.py.Operation.__le__#

Operation.__le__(other)#

Return <= in filter operation.

Examples

>>> t = otp.Ticks(A=range(4))
>>> t, _ = t[t['A'] <= 2]
>>> otp.run(t)[['A']]
   A
0  0
1  1
2  2