Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts an angle measured in degrees to an approximately equivalent angle measured in radians. Supports Spark Connect.
Warning
Deprecated in 2.1.0. Use radians instead.
Syntax
from pyspark.databricks.sql import functions as dbf
dbf.toRadians(col=<col>)
Parameters
| Parameter | Type | Description |
|---|---|---|
col |
pyspark.sql.Column or column name |
Target column to compute on. |
Examples
See radians for examples.