📅  最后修改于: 2022-03-11 14:46:08.697000             🧑  作者: Mango
代码示例1
# Limits the result count to the number specified
df.limit(1).collect()
# [Row(age=2, name=u'Alice')]
df.limit(0).collect()
# []