pyspark.sql.functions.e

pyspark.sql.functions.e() → pyspark.sql.column.Column[source]

Returns Euler’s number.

New in version 3.5.0.

Examples

>>> spark.range(1).select(e()).show()
+-----------------+
|              E()|
+-----------------+
|2.718281828459045|
+-----------------+