pyspark.sql.functions.sin

pyspark.sql.functions.sin(col: ColumnOrName) → pyspark.sql.column.Column[source]

Computes sine of the input column.

New in version 1.4.0.

Parameters
colColumn or str
Returns
Column

sine of the angle, as if computed by java.lang.Math.sin()