pyspark.sql.functions.csc

pyspark.sql.functions.csc(col: ColumnOrName) → pyspark.sql.column.Column[source]

Computes cosecant of the input column.

New in version 3.3.0.

Parameters
colColumn or str

Angle in radians

Returns
Column

Cosecant of the angle.