Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the OneLake & Platform Admin teams for an ask US anything on July 16th. Join now.

Reply
yash_robin
New Member

Fabric Notebook - Load File

Hi,

 

I am trying to explore fabric notebook, when I try to work with CSV files I am looking for an option to load the CSV file to table programmatically? 

 

Thanks

2 ACCEPTED SOLUTIONS
MatrixMan112
New Member

You can use pipelines to load the CSV file data into your tables.
You can also try notebooks:
https://learn.microsoft.com/en-us/fabric/data-engineering/lakehouse-notebook-load-data

View solution in original post

Anonymous
Not applicable

Hi @yash_robin ,

Thanks for using Fabric Community. 
As I understand you are very new to fabric and try to explore it. 

Here is a very simple code to load any csv data to table using pyspark.

vgchennamsft_0-1714647302542.png

 

df.write.format("delta").saveAsTable("gopi_lake_house.new_table")

 
Additional docs to refer -
Work with Delta Lake tables in Microsoft Fabric - Training | Microsoft Learn

Please refer above docs it will help you to get through few examples.

Hope this is helpful. Please let me know incase of further queries.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @yash_robin ,

Thanks for using Fabric Community. 
As I understand you are very new to fabric and try to explore it. 

Here is a very simple code to load any csv data to table using pyspark.

vgchennamsft_0-1714647302542.png

 

df.write.format("delta").saveAsTable("gopi_lake_house.new_table")

 
Additional docs to refer -
Work with Delta Lake tables in Microsoft Fabric - Training | Microsoft Learn

Please refer above docs it will help you to get through few examples.

Hope this is helpful. Please let me know incase of further queries.

Anonymous
Not applicable

Hi @yash_robin ,

Glad to know that your query got resolved. Please continue using Fabric Community on your further queries.

MatrixMan112
New Member

You can use pipelines to load the CSV file data into your tables.
You can also try notebooks:
https://learn.microsoft.com/en-us/fabric/data-engineering/lakehouse-notebook-load-data

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.