[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|
+---+-------+-----+----+

相关文章:

  • 2021-05-29
  • 2022-12-23
  • 2021-12-21
  • 2021-11-03
  • 2021-12-13
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-26
  • 2022-01-02
  • 2021-06-21
  • 2021-11-09
  • 2021-11-08
  • 2021-08-09
  • 2022-12-23
相关资源
相似解决方案