We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599ddd8 commit db331c9Copy full SHA for db331c9
python/pyspark/sql/functions.py
@@ -357,6 +357,7 @@ def randn(seed=None):
357
jc = sc._jvm.functions.randn()
358
return Column(jc)
359
360
+
361
@since(1.5)
362
def e():
363
"""Returns the double value that is closer than any other to e, the base of the natural
@@ -365,6 +366,7 @@ def e():
365
366
import math
367
return Column(math.e)
368
369
370
371
def pi():
372
"""Returns the double value that is closer than any other to pi, the ratio of the circumference
@@ -373,6 +375,7 @@ def pi():
373
375
374
376
return Column(math.pi)
377
378
379
@since(1.4)
380
def sparkPartitionId():
381
"""A column for partition ID of the Spark task.
0 commit comments