Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi
I am new to Fabric and experimenting with notebooks. How can I read multiple files present in a Lakehouse using a notebook?
I tried to read the csv files using this code, but receiving an error:
df = spark.read.format("csv").option("header","true").load("Files/**")
display(df)
Error: Path not found
Appreciate your help.
Solved! Go to Solution.
Hi @jashfabric
Thanks for using Fabric Community.
You can use the below code:
df = spark.read.format("csv").option("header","true").load("Files")
display(df)
I have created a repro for you.
Hope this helps. Please let me know if you have any other questions.
Hi @jashfabric
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.
Hi @jashfabric
Thanks for using Fabric Community.
You can use the below code:
df = spark.read.format("csv").option("header","true").load("Files")
display(df)
I have created a repro for you.
Hope this helps. Please let me know if you have any other questions.
Thank you so much @Anonymous !
That helped me. Thanks for the detail explaination.
Hi @jashfabric
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.
User | Count |
---|---|
5 | |
4 | |
3 | |
3 | |
2 |
User | Count |
---|---|
10 | |
8 | |
7 | |
6 | |
6 |