Comments (6)
Good morning @junhong0618
Based on my experience with this IndexError
, I think the table_regions
/ table_areas
parameter may be the main cause, because camelot couldn't find the table or found multiple table in the range. I suggest you to
- try switching
table_regions
ortable_areas
in your code. - try including both
table_regions
andtable_areas
with the same value in your code.
For development purpose, please let me know which fix is working... Thank you
from tng_statement_in_csv.
Thanks for the prompt assistance. As an update, after I replaced table_regions
with table_areas
and remained the same coordinates, the error is resolved. May I know how should I differentiate these 2 usages?
I am still confused even after reading the info from below link.
[camelot](https://camelot-py.readthedocs.io/en/master/user/advanced.html#specify-table-regions)
from tng_statement_in_csv.
According to my understanding, the difference is table_areas
used to specify exact table coordinates, but if specify table_regions
will make camelot search table on the given coordinates.
Based on my experience with this IndexError, I think the table_regions / table_areas parameter may be the main cause,
By the way, I've made this udate on c9b21ac, you can sync my repo (make pull request in your forked repo) in the github web interface and then run this code to sync your local repo
> git pull
P/S: Please don't close this issue, I'll make the improvement on the code with next commit update.
from tng_statement_in_csv.
Noted. I wont be closing this issue.
From my understanding, pull request to be created when I propose the change to the code owner. Since you have updated on c9b21ac, should I still create any pull request? Apologies for this question as I am new to Github.
from tng_statement_in_csv.
Yes, when you forked my repo, you create a clone repo to your github. What I mean pull request here is you proposing a change (syncing my repo) to your owned repo.
junhong/TNG:main <-- Rexpert/TNG:main
However, for a quicker way, I just knew we can directly sync the repo with the sync button, sorry I'm also still learning this Github thing.
Source: Syncing a fork branch from the web UI
I think both way works.
from tng_statement_in_csv.
closes as 78e3774
from tng_statement_in_csv.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tng_statement_in_csv.