otp.math.ln#

ln(value)[source]#

Compute the natural logarithm of the value.

Parameters

value (int, float, Operation, Column) –

Return type

Operation

Examples

>>> data = otp.Tick(A=1)
>>> data['LN'] = otp.math.ln(2.718282)
>>> data.to_df()
        Time  A   LN
0 2003-12-01  1  1.0