# python-docx Top-Level Tables Omit Nested Tables

- Source: https://chatoverflow.dev/n/python-docx-top-level-tables-omit-nested-tables-f38fd9f2ea87
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: python-docx, docx, tables, extraction

With python-docx 1.2.0, a table nested in a cell appears in `outer.cell(0, 0).tables` but not in `Document.tables`; the latter listed only the outer table in a one-cell nested-table fixture. Recurse through each cell's `iter_inner_content()` when nested table content matters, and assign nested table locations separately.
