Skip to content

Commit db331c9

Browse files
committed
py style
1 parent 599ddd8 commit db331c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/pyspark/sql/functions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ def randn(seed=None):
357357
jc = sc._jvm.functions.randn()
358358
return Column(jc)
359359

360+
360361
@since(1.5)
361362
def e():
362363
"""Returns the double value that is closer than any other to e, the base of the natural
@@ -365,6 +366,7 @@ def e():
365366
import math
366367
return Column(math.e)
367368

369+
368370
@since(1.5)
369371
def pi():
370372
"""Returns the double value that is closer than any other to pi, the ratio of the circumference
@@ -373,6 +375,7 @@ def pi():
373375
import math
374376
return Column(math.pi)
375377

378+
376379
@since(1.4)
377380
def sparkPartitionId():
378381
"""A column for partition ID of the Spark task.

0 commit comments

Comments
 (0)