Forum Discussion
aby_29
1 year agoNew Member
Import PDF in Fabric Notebook
Hi everyone, I'm looking to extract some data from some PDF files that are stored in a lakehouse. I would ideally like to store the extracted data as tables in the lakehouse. Is there a way to im...
- 1 year ago
did this worked?
aby_29
1 year agoNew Member
Hi nilendraFabric , thank you for your response.
I am running into this error: FileNotFoundError: [Errno 2] No such file or directory: 'Files/sample.pdf' despite connecting the Notebook to the lakehouse and inserting the correct document name and path. Any idea why this might be the case and how I could fix it?
nilendraFabric
1 year agoSuper User
You have to attach a Lakehouse to you notebook and upload your file to File section.
- aby_291 year agoNew Member
Hi nilendraFabric , please refer to the screenshot attached here
The PDF file is in the abi_doc_int lakehouse
- nilendraFabric1 year agoSuper User
did this worked?- aby_291 year agoNew Member
nilendraFabric Yes, I was able to install and import the librabries. It also recognizes the file path now (I had to restart the kernel) but binary_df seems to be empty. I've attached a screenshot here