Hi,
I am trying to access excel file that is stored in Azure Blob storage via Databricks.
In my understanding, it is not possible to access using Pyspark. So accessing through Pandas is the option,
Here is my code.
%pip install openpyxl
import pandas as pd
from pandas import ExcelFile
pdf = pd.ExcelFile('/mnt/dl-sy-team-dev/AD/AbsentEmployees.xls/', engine='openpyxl')
print(pdf)
ERROR
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/dl-sy-team-dev/ADP/AbsentEmployees.xls/'
The file is definitely there and has proper permissions as I can browse using dbutils.fs.ls command in databricks.
Can some one please help me with this error as to how to fix this?
Thanks,
John