e
Retourne le nombre d'Euler. Prend en charge Spark Connect.
Pour la fonction Databricks SQL correspondante, consultez la fonctione.
Syntaxe
Python
from pyspark.sql import functions as dbf
dbf.e()
parameter
parameter | Type | Description |
|---|---|---|
(aucun) | Cette fonction ne prend aucun paramètre. |
Exemples
Python
from pyspark.sql import functions as dbf
spark.range(1).select(dbf.e()).show()
Output
+-----------------+
| E()|
+-----------------+
|2.718281828459045|
+-----------------+