onetick.py.Operation.__neg__#
- Operation.__neg__()#
Return the negative value of float or int column.
Examples
>>> t = otp.Tick(A=1, B=2.3) >>> t['A'] = -t['A'] >>> t['B'] = -t['B'] >>> otp.run(t)[['A', 'B']] A B 0 -1 -2.3
Site Navigation
Section Navigation