cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert dataframe (df), to a excel file that I can share with my colleagues ?

rajat1
New Contributor

I am working on microsoft azure databrick, I have a final dataframe of shape (3276*23) , I want to share it in form of excel file? How can I do it ( I am using

->df.to_excel('fileOutput.xlsx', sheet_name = 'Sheet1', index = False) , command is running showing no error but I dont know file saving location)

2 REPLIES 2

Debayan
Databricks Employee
Databricks Employee

Anonymous
Not applicable

You could try this way, convert Pyspark Dataframe to Pandas Dataframe then export to excel file.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group