Unable to locate saved data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2025 10:22 PM
Hi,
I have been trying to save some processed data using pandas from my databricks notebook.
I have tried two versions, using csv and xlsx. The code for both of them runs without any error, but I'm unable to find the location of the saved data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2025 11:11 PM
hi @dsnde49 ,
When using Python instead of Spark in Databricks, the data you write will be stored in the drivers local storage.
To avoid this, you can utilize the spark-excel jar from Crealytics (Maven Repository: com.crealytics » spark-excel). This tool allows you to read data from individual sheets in an Excel file and combine all sheet dataframes into one dataframe using either Join or Union, depending on the nature of the data. Finally, you can collate the dataframe into a single partition using df.coalesce(1).
You can follow this medium post to refer how to use spark-excel library How to Read Excel files using pyspark in Databricks? | by Amit Joshi | Medium
Regards,
Hari Prasad
Regards,
Hari Prasad

