Applies the f function to all Row code example
Example: Applies the f function to all Row
# Applies the f function to all Row
def f(person):
print(person.name)
df.foreach(f)
# Applies the f function to all Row
def f(person):
print(person.name)
df.foreach(f)