aws-samples / aws-samples/amazon-textract-textractor

Improve Table Indexing

Open
#166 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
493
Forks
163
PR merge metrics
No merged PRs in 30d

Description

There is some limited support for table indexing such as:
```
new_table = document.tables[0][:5, :]
```
In order to select the first 5 rows of a given table.

However we need to:
- [ ] Adjust the returned Table such that its bounding box is tight with respect of the returned cells
- [ ] Support negative indexing

Contributor guide

Open the contributing guide

Research direction

Start at the document.tables indexing entry point and inspect the current Table slicing behavior shown in the issue. Done means sliced tables have a bounding box tight to their returned cells and support negative indexing; add or update coverage for both behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.