returns all the records as a list of row

Solutions on MaxInterview for returns all the records as a list of row by the best coders in the world

showing results for - "returns all the records as a list of row"
Jameson
10 Jan 2019
1# Returns all the records as a list of Row
2
3df.collect()
4# [Row(age=2, name=u'Alice'), Row(age=5, name=u'Bob')]