camelot-dev / camelot-dev/excalibur
Unable to extract full table from PDF
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Description
I was trying to extract table and convert it to excel from a PDF file. But full table is not extracted when using the flavor 'stream'. The full PDF table was divided into 2 table dfs(which I concated later, no problem with that) but some part of table data is not extracted. With flavor 'lattice' full table data is extracted but format is preferable with 'stream'. Can u please help to extract full table data with 'stream' itself.
In the submitted excel, sheet1 is data with flavor 'stream' and sheet2 with 'lattice'

[pdf-excel226-11.xlsx](https://github.com/camelot-dev/excalibur/files/7640847/pdf-excel226-11.xlsx)
.
Contributor guide
Research direction
Start by reviewing the attached image and workbook, comparing the stream and lattice sheets to identify which table data is missing from stream extraction. Reproduce the report with the supplied PDF context if available, then verify that stream extracts the complete table while retaining its preferred formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100