Hi,

I would like to write a dataframe with vactor values into a text/csv file.

Using below line, I can write it as parquet, however I cannot open it in
excel/as text.
df.coalesce(1).write.option("header","true").mode("overwrite").save("stage-s3logs-model")

Wondering how to save the result of a MLib transformation function(e.g.
oneHotEncoder) which generates vectors into a file.

Best regards,
Mina

Reply via email to