Skip to content

Examples

Explore the notebooks below for examples of using Tabloom.

Notebook What it demonstrates Links
Basic usage Table editing, themes, charts, and PDF reports View on GitHub Open In Colab
Wine quality report Download 1,599 rows and 12 columns, build plain tables, compare distributions, and export a complete data appendix View on GitHub Open In Colab
Excel sales report Read an .xlsx worksheet, summarize dates and products, create line and pie charts, and export Excel/PDF results View on GitHub Open In Colab

The basic notebook explicitly selects theme="blue" to demonstrate colored tables. The wine-quality notebook uses plain tables, a color-encoded scatter plot with an association line, overlaid histograms, and grouped box plots.

The larger example downloads the red-wine CSV from the UCI Wine Quality dataset (Cortez et al., 2009; CC BY 4.0). Internet access is needed for its first run; later runs reuse the local CSV. It includes every observation in a landscape PDF, adding one complete table and letting Report paginate its rows with repeated headers. show(head=8) previews the same table without limiting the report. The scatter example uses hue and trendline to add a colorbar and association line directly.

The Excel example downloads Microsoft's Financial Sample workbook, reads six columns from its 700-row worksheet with Table.from_excel, and normalizes header whitespace through .df. Pandas groups dates and products; Tabloom presents monthly sales as a line chart and product shares as a pie chart. It writes a named Excel summary worksheet, reads it back, and reuses both inline-displayed charts in a vector PDF. It uses the existing openpyxl engine. Internet access is required only before the workbook is cached locally.

Run notebooks from notebooks/ to keep downloaded workbooks and CSVs in its ignored data/ directory. The complete outputs/ directory is ignored, covering any generated format. Common data and image exports (including CSV, Excel, JSON, PDF, PNG, and SVG) written beside notebooks are also ignored. The wine example writes its PDF and three PNG charts to outputs/; the Excel example writes a workbook, a PDF, and two PNG charts there. No dataset package or additional dependencies are needed.