Search code examples
pythondata-extractionpython-camelot

Camelot not detecting table within table


I have observed that camelot is not detecting nested tables in the sample document I have. In the image attached, I'm getting only one table extracted as whole. Is there anyway using which we can detect the inner tables as well?

enter image description here


Solution

  • To programmatically extract internal tables only, you can try passing table_regions parameter, specifying a fixed limited part of the page.

    When table_regions is specified, Camelot will only analyze the specified regions to look for tables.