Replace double quotes

pull/2/head
Vinayak Mehta 2018-09-11 23:23:13 +05:30
parent 874d77414c
commit 3b2d434ee9
2 changed files with 14 additions and 14 deletions

View File

@ -8,20 +8,20 @@ Camelot is a Python library and command-line tool for extracting tables from PDF
<pre> <pre>
>>> import camelot >>> import camelot
>>> tables = camelot.read_pdf("foo.pdf") >>> tables = camelot.read_pdf('foo.pdf')
>>> tables >>> tables
&lt;TableList n=2&gt; &lt;TableList n=2&gt;
>>> tables.export("foo.csv", f="csv", compress=True) # json, excel, html >>> tables.export('foo.csv', f='csv', compress=True) # json, excel, html
>>> tables[0] >>> tables[0]
&lt;Table shape=(3,4)&gt; &lt;Table shape=(3,4)&gt;
>>> tables[0].parsing_report >>> tables[0].parsing_report
{ {
"accuracy": 96, 'accuracy': 96,
"whitespace": 80, 'whitespace': 80,
"order": 1, 'order': 1,
"page": 1 'page': 1
} }
>>> tables[0].to_csv("foo.csv") # to_json, to_excel, to_html >>> tables[0].to_csv('foo.csv') # to_json, to_excel, to_html
>>> tables[0].df >>> tables[0].df
</pre> </pre>

View File

@ -30,20 +30,20 @@ Usage
:: ::
>>> import camelot >>> import camelot
>>> tables = camelot.read_pdf("foo.pdf") >>> tables = camelot.read_pdf('foo.pdf')
>>> tables >>> tables
<TableList n=2> <TableList n=2>
>>> tables.export("foo.csv", f="csv", compress=True) # json, excel, html >>> tables.export('foo.csv', f='csv', compress=True) # json, excel, html
>>> tables[0] >>> tables[0]
<Table shape=(3,4)> <Table shape=(3,4)>
>>> tables[0].parsing_report >>> tables[0].parsing_report
{ {
"accuracy": 96, 'accuracy': 96,
"whitespace": 80, 'whitespace': 80,
"order": 1, 'order': 1,
"page": 1 'page': 1
} }
>>> tables[0].to_csv("foo.csv") # to_json, to_excel, to_html >>> tables[0].to_csv('foo.csv') # to_json, to_excel, to_html
>>> tables[0].df >>> tables[0].df
.. csv-table:: .. csv-table::