sin_deg
sin_deg(angle: float64) -> float64
Computes the sine of the input and returns a float64. The input should be expressed in degrees.
Arguments
- angle (required) Angle in degrees, a float64
Domain
This is a scalar function (calculates a single output value for a single input row).
Categories
Examples
make_col sin:sin_deg(angle)
Create a column 'sin' with the result of the sine of column 'angle'
The resulting column will be in degrees.
Given the below column angle, sin_deg produces the below column sin
| angle | sin |
|---|---|
| 0 | 0 |
| 45 | √2/2 |
| 60 | √3/2 |
| 90 | 1 |
| 180 | 0 |
| 270 | -1 |
| 360 | 0 |
Updated 8 days ago