pyspark.sql.functions.cos

pyspark.sql.functions.cos(col)
Parameters

col – angle in radians

Returns

cosine of the angle, as if computed by java.lang.Math.cos().

New in version 1.4.