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