pyspark.sql.functions.tan

pyspark.sql.functions.tan(col)[source]

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()