pyspark.sql.functions.radians

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

Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

Parameters
colColumn or str

angle in degrees

Returns
Column

angle in radians, as if computed by java.lang.Math.toRadians()