Print only non matching records for after if condition code example
Example: Returns all the records as a list of Row
# Returns all the records as a list of Row
df.collect()
# [Row(age=2, name=u'Alice'), Row(age=5, name=u'Bob')]
# Returns all the records as a list of Row
df.collect()
# [Row(age=2, name=u'Alice'), Row(age=5, name=u'Bob')]