Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 12:11 PM
Hi @libpekin, is filepath pointing to a DBFS path? Because writing directly to DBFS paths using to_excel() is not supported due to DBFS limitations with certain file operations, especially random writes.
As a workaround, first save the Excel file to a local path on the driver node, using to_excel(), then use dbutils.fs.cp() to move it to DBFS.
Let me know if this doesn’t work.