Table Extractor Overview Extract tables from PDF documents with high accuracy using camelot-py. Handles complex table structures including merged cells, multi-line rows, spanning headers, and borderless tables. Outputs clean DataFrames that can be exported to CSV, Excel, or JSON. Instructions When a user asks you to extract tables from a PDF, follow this process: Step 1: Install and verify dependencies If ghostscript is not available, fall back to pdfplumber: Step 2: Inspect the PDF to locate tables Step 3: Choose the right extraction flavor Lattice flavor (for tables with visible borders/gri…