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.
Returns Euler's number. Supports Spark Connect.
For the corresponding Databricks SQL function, see e function.
Syntax
from pyspark.databricks.sql import functions as dbf
dbf.e()
Parameters
| Parameter | Type | Description |
|---|---|---|
| (none) | This function takes no parameters. |
Examples
from pyspark.databricks.sql import functions as dbf
spark.range(1).select(dbf.e()).show()
+-----------------+
| E()|
+-----------------+
|2.718281828459045|
+-----------------+