onetick.py.Operation.__or__#

Operation.__or__(other)#

Return logical or in filter operation.

Examples

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