aws-samples / aws-samples/amazon-textract-code-samples

merged cells not working as expected

未关闭
#47 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
449
派生
262
PR 合并指标
30 天内没有已合并 PR

描述

I followed this example (same code, same image/pdf):
https://aws.amazon.com/blogs/machine-learning/merge-cells-and-column-headers-in-amazon-textract-tables/

![image](https://user-images.githubusercontent.com/125616703/220799548-64be7cae-290a-40d5-8bef-4e24e9bba82f.png)

`print (df)` shows:
```
Date Description Details Credits Debits Balance
0 2/4/2022 Life Insurance Payments Credit 445 9500.45
1 2/4/2022 Property Management Credit 300 9945.45
2 2/4/2022 Retail Store 4 Credit 65.75 10245.45
3 2/3/2022 Electricity Bill Credit 245.45 10311.2
4 2/3/2022 Water Bill Credit 312.85 10556.65
5 2/3/2022 Rental Deposit Credit 3000 10869.5
6 2/2/2022 Retail Store 3 Credit 125 7869.5
7 2/2/2022 Retail Store 2 Refund Debit 5.5 7994.5
8 2/2/2022 Retail Store 1 Credit 45.5 8000
9 2/1/2022 Shoe Store Refund Credit 33 8045.5
10 2/1/2022 Snack Vending Machine Debit 4 8012.5
```
Note the lack of "Amount".
Can anyone shed some light on this?

贡献指南

打开贡献指南

调研方向

首先,使用报告中的图像或 PDF 运行链接的 AWS Textract 合并单元格示例,并将其 dataframe 输出与预期的 Amount 列进行比较。然后跟踪该示例所使用的 repository 示例,以确定合并单元格的值在哪里处理。复现问题并在不更改其他提取列的情况下恢复缺失的 Amount 字段,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws
领域
data
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。