# Applies the f function to all Row of this DataFrame def f(person): print(person.name) df.foreach(f)