Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Applies the f function to all Row of this DataFrame

# Applies the f function to all Row of this DataFrame

def f(person):
  print(person.name)
df.foreach(f)
Source by spark.apache.org #
 
PREVIOUS NEXT
Tagged: #Applies #function #Row #DataFrame
ADD COMMENT
Topic
Name
1+5 =