Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Applies the f function to all Row

# Applies the f function to all Row

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