Reading a adls gen 2 csv file from db using standard pandas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2023 10:30 AM
i have mounted the adls container where the data are, but I cannot read the files with pandas ('pd.read_csv') even though I have attached the prefix '/dbfs/' to the path . Instead if I use 'spark.read.csv', I have no problems.
Anyone knows why this is happening and how it can be fixed without altering the code ? I want to read the data with pandas.
- Labels:
-
ADLS
-
Standard Pandas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2023 10:16 PM
Hi, When you are not able to read the files, what is the error you get?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 01:18 AM
'file does not exist'. but the file is there in the blob and you can see it through dbutils...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 02:22 PM
can you share your code? a minimal code snippet will help us.

