onetick.py.Operation.__and__#

Operation.__and__(other)#

Return logical and in filter operation.

Examples

>>> t = otp.Ticks(A=[1, 1], B=[1, 2])
>>> t = t.where((t['A'] == 1) & (t['B'] == 1))
>>> otp.run(t)
        Time  A  B
0 2003-12-01  1  1