Project overview

AI-generated schematic: overview of Great Tables laying out a data frame as a publication-ready table.
Great Tables is Posit’s open-source Python table package (MIT license). It lays out pandas and polars data frames as display tables suited to papers and the web, outputting HTML and LaTeX. The recent back-to-back releases v1.0.0 and v1.1.0 add fraction and chemical-formula formatting, value-based conditional styling, and multi-column row stubs.
In research data analysis, data frames are good for storage and computation, but screenshots or raw exports rarely meet journal and academic-report norms for header hierarchy, significant figures, unit alignment, and notes. Great Tables is funded and copyrighted by Posit Software, PBC, with Rich Iannone as primary maintainer. Drawing on the design of the R gt package, it splits a table into Header, Stub, Column Labels, Table Body, and Footer/Source Notes, composing styles through chained calls. The project published milestone v1.0.0 on PyPI on 25 September 2026 (UTC), marking a stable core 1.x API after more than 60 bug fixes and documentation restructuring; v1.1.0 followed on 15 October 2026 (UTC), and maintainer Rich Iannone published a combined release note on Posit’s official open-source blog on 19 October 2026. The project uses the MIT license, requires Python >= 3.10, and adds load_dataset() for on-demand built-in example datasets.

AI-generated schematic: three-step path from loading a data frame in Great Tables to exporting a publication table.
Why it helps
For researchers who often use Python for experimental measurements, survey statistics, or model evaluation metrics, Great Tables addresses the tedious “last mile” of layout between analysis scripts and paper figures. Without manually copying pandas or polars summaries into a spreadsheet for a second pass, you can generate hierarchical, publication-grade tables directly in Jupyter Notebook, Quarto documents, or automated reporting pipelines.
Specialized content formatters and clickable links
Around common research and engineering notation, v1.0.0 and v1.1.0 add five specialized formatting functions:
- Fraction and mixed-fraction layout (
fmt_fraction()): converts floating-point values to fractions at a chosen denominator precision (e.g. tenths, hundredths, or a custom integer denominator), with mixed fractions and slash or diagonal fraction styles (layout="diagonal")—suited to engineering tolerances, dose ratios, and other experimental records usually shown as fractions. - Automatic chemical-formula subscripts and superscripts (
fmt_chem()): without hand-inserted HTML tags or LaTeX math, plain strings such as"H2O","Ca2+","SO4^2-", and"Fe(CN)6^4-"render as proper molecular formulas, ion charges, isotope mass numbers, and hydrate dots—directly useful for chemistry, materials, and environmental science tables. - Roman numerals and letter sequences (
fmt_index()): formats integer columns as upper- or lowercase Roman numerals (e.g.I, II, III) or letter sequences for experimental stages, appendix numbers, or classification levels. - URL and email hyperlinks (
fmt_url()andfmt_email()): turn text URLs or email addresses into clickable links;fmt_url()can extract and show only the domain, or render long links as button-style controls—useful for dataset catalogs, tool navigation tables, or corresponding-author indexes.
Value-based conditional styling and stronger color mapping
To help readers spot outliers, significance, or group differences in dense numeric tables, the new versions substantially expand conditional styling and heat-map coloring:
- Value-based conditional styling (
tab_style_body()): unliketab_style(), which previously required hand-written location selectors (loc.body()),tab_style_body()can select target cells by value match (values=), regex pattern (pattern=), or a custom predicate (fn=lambda x: ...), and can extend highlight background, bold text, or border styles to whole rows or columns (extents="row"). - Stronger heat-map coloring (
data_color()): newmidpoint=anchors a diverging scale at0or a baseline mean (good for correlation matrices, regression residuals, or rates of change); newdirection="row"computes color gradients by row rather than column; you can pass color-mapping functions such ascol_bin()tofn=for equal-interval or quantile discrete bins. Font contrast defaults upgrade to APCA (Accessible Perceptual Contrast Algorithm), and scale interpolation defaults to the more perceptually uniform CIELAB space.
Multi-column stubs, decimal alignment, and accessible output
For complex grouped tables and publication compliance, v1.0.0 and v1.1.0 improve table structure and underlying output:
- Multi-column stub:
GT(..., rowname_col=[...])andtab_stub()now accept a list of column names to build hierarchical row labels (e.g. “country—region—year” or “field—subtask—model”), withstubandstub(n)selectors for width and style at each level. From v1.0.0, ordinary column selectors exclude stub columns by default, so batch styling of data columns does not accidentally restyle left-side labels. - Stronger decimal alignment (
cols_align_decimal()): for measurements or statistics with varying digit counts, keeps numbers vertically aligned on the decimal point, with newmin_sep_threshold=controlling when thousands separators turn on. - Default accessible semantic HTML and LaTeX improvements: from v1.0.0, HTML output defaults to full accessibility attributes (including
id,headers, andscopelinks on<th>and<td>, plusaria-labelledbyandaria-describedbypointing at titles and notes), helping screen readers narrate complex spanning tables by row and column logic—aligned with accessibility requirements from international publishers and universities for digital publications. LaTeX export also gains more conversion support for grouped tables, custom column widths, and additional formatters.
Install entry points and usage boundaries
Great Tables is on PyPI and can be installed or upgraded with pip:
pip install --upgrade great-tables
Three usage boundaries matter: first, software requires Python >= 3.10; if you pass pandas or polars data frames directly in code, install those data-frame dependencies yourself; second, although LaTeX output expanded in 1.0/1.1, some interactive or visual styles that depend on CSS (e.g. clickable button links, fine-grained gradient backgrounds) mainly target HTML (Jupyter, Quarto web, web apps)—check the actual as_latex() output before submitting a pure LaTeX manuscript; third, this article is source verification from Posit’s official release notes, docs, GitHub repository, and PyPI metadata—not a local install test.
References
-
Rich Iannone, Posit Open Source Blog: Great Tables v1.0.0 and v1.1.0: new formatters, conditional styling, multi-column stubs, and richer color scales (published: 2026-10-19)
-
Posit Software, PBC: Great Tables Official Documentation (v1.1.0)
-
Posit Software, PBC: posit-dev/great-tables GitHub Repository & MIT License
-
Python Package Index (PyPI): great-tables 1.1.0 Package Metadata & Release History (v1.0.0 published 2026-09-25 UTC; v1.1.0 published 2026-10-15 UTC)
-
Academic Gateway · a living guide for scholars in the intelligent age
-
Information compiled and published by the Scholay academic one-stop platform; report infringement for takedown.
-
Also published on Enter Scholar, a scholars’ community for the intelligent age