Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi, i'm trying to display data from Fabric Lakehouse's file system using notebook.
I suceeded load csv file to Lakehouse's file system from Lakehouse's Table with using notebook.
And now, I tried to read that csv files using this code, but it failed.
df = spark.read.format("csv").option("header","true").load("Files/sjpark_test_result_job/**")
display(df)
df = spark.read.option("header","true").option("inferSchema", "true").csv("Files/sjpark_test_result_job")
display(df)
Solved! Go to Solution.
Hi @sjpark
Thanks for using Fabric Community.
You can use the below code:
df = spark.read.format("csv").option("header","true").load("Files/sjpark_test_result_job")
display(df)
I have created a repro for you.
Hope this helps. Please let me know if you have any other questions.
Hi @sjpark
Glad that your query got resolved. Thank you for appreciating it. I'm happy to help. Please continue using Fabric Community for any help regarding your queries.
Good luck to you as well!
Hi @sjpark
Thanks for using Fabric Community.
You can use the below code:
df = spark.read.format("csv").option("header","true").load("Files/sjpark_test_result_job")
display(df)
I have created a repro for you.
Hope this helps. Please let me know if you have any other questions.
User | Count |
---|---|
33 | |
14 | |
6 | |
3 | |
2 |
User | Count |
---|---|
39 | |
22 | |
11 | |
7 | |
6 |