0

I have a large Spark dataframe df which I need to write on local disk.

df.toPandas().to_csv() does not work since this consume too much memory.

How to split the dataframe and write down into a single file ?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
quantCode
  • 495
  • 1
  • 5
  • 12

0 Answers0