Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
hello,
in notebook1, I can read the .csv file into a dataframe
in notebook2, can not read the same .csv file. --> error is as per below
this is what I am doing in fabric notebook
path = 'Files/pathname/year=2024/month=08/day=16/xyz.csv'
df=spark.read.csv(path)
display(df)
error:
-------------------------------
Solved! Go to Solution.
I assume both Notebooks are in the same Workspace and both have the same Lakehouse attached as the default?
I assume you are using the exact same code to read the .csv file; nothing different?
Are they both running under the same spark configuration?
Are there any libraries being loaded into 1 Notebook and not the other?
thank you. the problem was not having the correct lakehouse.
I assume both Notebooks are in the same Workspace and both have the same Lakehouse attached as the default?
I assume you are using the exact same code to read the .csv file; nothing different?
Are they both running under the same spark configuration?
Are there any libraries being loaded into 1 Notebook and not the other?
both Notebooks are in the same Workspace - yes
and both have the same Lakehouse attached as the default? - how do I check this?
I assume you are using the exact same code to read the .csv file; nothing different? - correct
Are they both running under the same spark configuration? - correct
Are there any libraries being loaded into 1 Notebook and not the other? - no
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Fabric update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 2 | |
| 2 |