pyspark.sql.functions.tan

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

Computes tangent of the input column.

New in version 1.4.0.

Parameters
colColumn or str

angle in radians

Returns
Column

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