arctan_deg
arctan_deg(input: float64) -> float64
Computes the arc tangent of the input. The result is a float64, specified in degrees, in the range [-90, 90]
Arguments
- input (required) Ratio to find the arc tangent of, float64.
Domain
This is a scalar function (calculates a single output value for a single input row).
Categories
Examples
make_col arctan:arctan_deg(ratio)
Create a column 'arctan' with the result of the arc tangent of column 'ratio'
The resulting column will be in degrees.
Given the below column ratio, arctan_deg produces the below column arctan
| ratio | arctan |
|---|---|
| -∞ | -90 |
| -√3 | -60 |
| -1 | -45 |
| 0 | 0 |
| 1 | 45 |
| √3 | 60 |
| ∞ | 90 |
Updated 8 days ago