Reputation: 706
trying to write a xlsx file in a blob storage
tryed thing like
df_MA.to_excel("https://ACCOUNTNAME.blob.core.windows.net/STORAGENAME/output/fold1/filename.xlsx")
but have error message
No such file or directory:
Upvotes: 0
Views: 894
Reputation: 20302
Did you mount the storage drive?
df.write.mode("overwrite").format("com.databricks.spark.csv").option("header","true").csv("/mnt/<mount-name>")
Upvotes: 2