# Returns all the records as a list of Row df.collect() # [Row(age=2, name=u'Alice'), Row(age=5, name=u'Bob')]