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