pyspark.sql.functions.tan

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

Computes tangent of the input column.

Parameters
colColumn or str

angle in radians

Returns
Column

tangent of the given value, as if computed by java.lang.Math.tan()