read multiple files using utilities in databricks

31 views Asked by At

I have multiple files like I tried using

%python

dbutils.fs.ls(
 [
   "/mnt/nikhil/2024",
   "/mnt/nikhil/2023",
   "/mnt/akhil/2023",
   "/mnt/akhil/2024"
 ]
)

Paths of files are

1)/mnt/nikhil/2024
2)/mnt/nikhil/2023
3)/mnt/akhil/2024
4)/mnt/akhil/2023

my requirement is to display content of all files of above path

can anyone help me please?

0

There are 0 answers