onetick.py.Operation.__truediv__#

Operation.__truediv__(other)#

Divide column by other value.

Parameters:

other (int, float, onetick.py.Column)

Examples

>>> t = otp.Tick(A=1, B=2.3)
>>> t['A'] = t['A'] / t['B']
>>> t['B'] = t['B'] / 2
>>> otp.run(t)
        Time         A     B
0 2003-12-01  0.434783  1.15