onetick.py.Operation.__invert__#

Operation.__invert__()#

Return inversion of filter operation.

Examples

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