[Spark][Python]DataFrame中取出有限个记录的例子 的 继续
[15]: myDF=peopleDF.where("age>21")
In [16]: myDF.limit(2).show()
+---+-------+-----+----+
|age| name|pcode|pcoe|
+---+-------+-----+----+
| 30|Brayden|94304|null|
| 46| Diana| null|null|
+---+-------+-----+----+