pyspark.sql.functions.
cot
Computes cotangent of the input column.
New in version 3.3.0.
Column
Angle in radians
Cotangent of the angle.