Answers for "Limits the result count to the number specified"

0

Limits the result count to the number specified

# Limits the result count to the number specified

df.limit(1).collect()
# [Row(age=2, name=u'Alice')]
df.limit(0).collect()
# []
Posted by: Guest on April-20-2020

Code answers related to "Limits the result count to the number specified"

Python Answers by Framework

Browse Popular Code Answers by Language