how to group by data into multi chunks via pyspark query?

后端 未结 0 1977
野的像风
野的像风 2021-01-16 15:11

I have Spark DataFrame which I need to add a column to it with some conditions.

  1. select randomly a chunk of data (chunk = 1000) without replacement
  2. each
相关标签:
回答
  • 消灭零回复
提交回复
热议问题