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 ?
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 ?