pyspark.sql.functions.sin

pyspark.sql.functions.sin(col)[source]

New in version 1.4.0.

Parameters:
colColumn or str
Returns:
Column

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