otp.math.pi#

pi()#

Returns the value of Pi number.

Return type

Operation

Examples

>>> data = otp.Tick(A=1)
>>> data['PI'] = otp.math.pi()
>>> otp.run(data)
        Time  A        PI
0 2003-12-01  1  3.141593