onetick.py.Operation.__le__#
- Operation.__le__(other)#
Return <= in filter operation.
Examples
>>> t = otp.Ticks(A=[0, 1, 2, 3]) >>> t = t.where(t['A'] <= 2) >>> otp.run(t) Time A 0 2003-12-01 00:00:00.000 0 1 2003-12-01 00:00:00.001 1 2 2003-12-01 00:00:00.002 2