pyspark.sql.functions.
cos
Computes cosine of the input column.
New in version 1.4.0.
Column
angle in radians
cosine of the angle, as if computed by java.lang.Math.cos().