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