10_flat_table.py, to read: the notebook as you get it, run, with its exercises still blank. Its dropdowns and sliders show their first setting; to change them, or to write the exercises, open the notebook in marimo on your computer. Run or Edit, above the notebook, can copy or download it: it runs inside the course folder, beside the course's data, so save it there. Stuck on an exercise? The companion has each solution and why it works.
Get the tables: from regional databases to one flat table
Something new
| Layer | Explore a module |
|---|---|
| Module | Publish the tables |
| About | Module 7 of Python for Survey Statistics: estimates written to a formatted workbook, and the tabulation as one script that writes every table at every level, with the sample's own counts beside each estimate, to one workbook. Its sections, its notebooks to read on the web, and the companion's solutions and explanations. |
| Course | Python for Survey Statistics, free |