pyspark.sql.functions.sec

pyspark.sql.functions.sec(col: ColumnOrName) → pyspark.sql.column.Column

Computes secant of the input column.

Parameters
colColumn or str

Angle in radians

Returns
Column

Secant of the angle.