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 load multiple xlsx that are storage in different folders with the same name in a blob storage in a delta table ?

Chilangdon
New Contributor

Hi i have a blob storage with multile unzip folders with the same suffix folder_report_name_01_2023_01_02 -> file_name_2023_01_02.xlsx

But i want to load all of this data using pandas or pyspark and insert in my delta table.

I'm trying to using widgets but i dont want to input manually all the names, exist a way to change this folder and file name automatically?

1 ACCEPTED SOLUTION

Accepted Solutions

jose_gonzalez
Moderator
Moderator

Hi,

I would highly recommend to check this doc https://spark.apache.org/docs/latest/api/python/user_guide/pandas_on_spark/index.html you can use Pandas APIs on Spark. It will have a huge benefit when you compare with standard Pandas, which only runs on the driver. In this docs, you will be able to find some examples on how to read data using Pandas.

View solution in original post

2 REPLIES 2

jose_gonzalez
Moderator
Moderator

Hi,

I would highly recommend to check this doc https://spark.apache.org/docs/latest/api/python/user_guide/pandas_on_spark/index.html you can use Pandas APIs on Spark. It will have a huge benefit when you compare with standard Pandas, which only runs on the driver. In this docs, you will be able to find some examples on how to read data using Pandas.

Anonymous
Not applicable

Hi @Fernando Vázquez​ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!