sin_deg¶
Description¶
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 
Return type¶
float64
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
sin_deg(angle)
| Argument | Type | Optional | Repeatable | Restrictions | 
|---|---|---|---|---|
| angle | float64 | no | no | none | 
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 |