Hi,

I would like to serialize a dataframe with vector values into a text/csv in
pyspark.

Using below line, I can write the dataframe(e.g. df) as parquet, however I
cannot open it in excel/as text.
df.coalesce(1).write.option("header","true").mode("
overwrite").save("output")

Best regards,
Mina

Reply via email to