Commit Graph

10 Commits

Author SHA1 Message Date
samkit-jain 608db0225c Fix bug that crashed table extraction when null value provided for (text|intersection)_(x|y)_tolerance keys
Fixes #539
Thanks to @yoavxyoav for reporting
2021-11-22 19:53:03 +05:30
bobluda 6cea72da22 Add test and pdf for mixed strategy table extraction 2021-07-11 23:59:27 +02:00
Jeremy Singer-Vine 83dd31f7dc Add test for extract_table(s) re. text extraction 2021-05-08 17:42:12 -04:00
Samkit Jain a17c5a72b6 Sort tables extracted on a page by their top position
Fixes #336
h/t @gqh1995 for reporting
2021-01-21 20:05:29 +05:30
Jeremy Singer-Vine b4b0282730 Make tests flake8-compatible 2020-12-16 22:29:51 -05:00
Jeremy Singer-Vine 5c62be2e16 Format all tests with psf/black 2020-12-16 22:19:17 -05:00
Jeremy Singer-Vine f665863daf Fix test_table.py ValueError tests
They were erroring on wrong aspect, because PDF object was being passed
instead of Page object.
2020-10-20 09:42:23 -04:00
Jeremy Singer-Vine bc407790f1 Decimalize "simple" explicit_h/v_lines descs (#290)
... in TableFinder. This way, you can pass ints/floats without
pre-converting them to Decimal objects.
2020-10-20 09:41:49 -04:00
Jeremy Singer-Vine a5e7d7fa52 Remove pandas from dev requirements and tests
Results in needing one more # pragma: nocover statement, but on a
simple line of code. See PR #253 for details and motivation.
2020-08-15 12:03:34 -04:00
Jeremy Singer-Vine 3f4b4b24b3 Bring pdfplumber/table.py coverage to 100% 2020-08-06 22:19:40 -04:00