akhetos
akhetos

Reputation: 706

data brick write xlsx in blob

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

Answers (1)

ASH
ASH

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

Related Questions