-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NotImplementedError: File format not supported #63
Comments
We're currently still updating the documentation. The rebranding has not been completed yet. You can install it with |
@bosd Can you provide an implementable example starting with how to import and use the read_pdf functionality? |
The example from the docs are still accurate. |
@bosd So as I gather you have rebranded to pypdf-table-extraction, pip installing the package did not fix the NotImplemented Error. I don't see a confirmation from Kushal before the issue reported two weeks ago was closed out on the topic branch |
Did you follow the quickstart as a test? >>> import camelot
>>> tables = camelot.read_pdf('foo.pdf')
>>> tables
<TableList n=1>
>>> tables.export('foo.csv', f='csv', compress=True) # json, excel, html, markdown, sqlite
>>> tables[0]
<Table shape=(7, 7)>
>>> tables[0].parsing_report
{
'accuracy': 99.02,
'whitespace': 12.24,
'order': 1,
'page': 1
}
>>> tables[0].to_csv('foo.csv') # to_json, to_excel, to_html, to_markdown, to_sqlite
>>> tables[0].df # get a pandas DataFrame! |
Describe the bug
NotImplementedError: File format not supported
I am facing this error where the expected result is the list of tables
However I am getting a Implementation exception instead
One of the maintainers of the package @bosd suggested using the fork branch pypdf-table-extraction main branch, however it is not clear how to import the package the way I earlier imported camelot-py[cv] as mentioned in the following steps to reproduce.
Steps to reproduce the bug
%pip install camelot-py[cv]
import camelot.io
from camelot.io import read_pdf
The text was updated successfully, but these errors were encountered: