Publication-quality tables in Python with rich styling, formatting, conditional
Scanned 9/9/2026
Install to Claude Code
npx -y skills add vamseeachanta/workspace-hub --skill great-tables --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Great Tables?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-great-tables)More formats (shields.io, HTML) on the badges page.
---
name: great-tables
version: 1.0.0
description: Publication-quality tables in Python with rich styling, formatting, conditional
formatting, and export to HTML/images - inspired by R's gt package
type: reference
author: workspace-hub
category: data-analysis
capabilities:
- Publication-quality table rendering
- Rich styling and formatting options
- Conditional formatting with colors and icons
- Grouped rows and columns
- Spanner headers and footnotes
- Export to HTML, PNG, and PDF
- Integration with pandas and polars
- Interactive HTML output
tools:
- great_tables
- pandas
- polars
- webshot
tags:
- great-tables
- tables
- formatting
- publication
- styling
- conditional-formatting
- html-tables
- data-presentation
- reporting
platforms:
- python
related_skills:
- pandas-data-processing
- polars
- ydata-profiling
- streamlit
- plotly
requires: []
scripts_exempt: true
---
# Great Tables
## When to Use This Skill
### USE Great Tables when:
- **Publication tables** - Creating tables for reports, papers, or presentations
- **Data presentation** - Professional display of analysis results
- **Conditional formatting** - Highlighting patterns with colors and icons
- **Complex layouts** - Multi-level headers, grouped rows, footnotes
- **HTML reports** - Interactive tables for web-based reports
- **Quick formatting** - Need polished tables without manual styling
- **Dashboard components** - Tables in Streamlit/Dash applications
- **Export requirements** - Need PNG or PDF output
### DON'T USE Great Tables when:
- **Large datasets** - Over 1000 rows for display (use pagination)
- **Interactive editing** - Need editable cells (use Streamlit data_editor)
- **Real-time updates** - Streaming data display
- **Complex interactivity** - Sorting, filtering (use DataTables or AG Grid)
- **Raw data exploration** - Use pandas display or ydata-profiling
## Prerequisites
```bash
# Basic installation
pip install great_tables
# With all optional dependencies
pip install great_tables pandas polars
# For image export (PNG/PDF)
pip install great_tables webshot
# Using uv (recommended)
uv pip install great_tables pandas polars
# Verify installation
python -c "from great_tables import GT; print('Great Tables ready!')"
```
## Complete Examples
### Example 1: Financial Report Table
```python
from great_tables import GT, html
from great_tables import style, loc
import pandas as pd
import numpy as np
def create_financial_report(
data: pd.DataFrame,
title: str = "Financial Report",
output_path: str = "financial_report.html"
*See sub-skills for full details.*
### Example 2: Sales Dashboard Table
```python
from great_tables import GT, html
from great_tables import style, loc
import pandas as pd
import numpy as np
def create_sales_dashboard_table(output_path: str = "sales_dashboard.html") -> GT:
"""
Create sales dashboard table with KPIs and sparklines.
"""
*See sub-skills for full details.*
### Example 3: Scientific Data Table
```python
from great_tables import GT
from great_tables import style, loc
import pandas as pd
import numpy as np
def create_scientific_table(output_path: str = "scientific_table.html") -> GT:
"""
Create publication-quality scientific data table.
"""
*See sub-skills for full details.*
## Version History
- **1.0.0** (2026-01-17): Initial release
- Basic table creation and styling
- Column formatting (currency, percent, date)
- Conditional formatting and color scales
- Row and column grouping
- Footnotes and annotations
- Export to HTML and images
- Complete report examples
- Integration with Streamlit and Polars
- Best practices and troubleshooting
## Resources
- **Official Documentation**: https://posit-dev.github.io/great-tables/
- **GitHub**: https://github.com/posit-dev/great-tables
- **PyPI**: https://pypi.org/project/great-tables/
- **Gallery**: https://posit-dev.github.io/great-tables/examples/
---
**Create publication-quality tables with Great Tables - beautiful data presentation made easy!**
## Sub-Skills
- [1. Basic Table Creation](1-basic-table-creation/SKILL.md)
- [2. Column Formatting](2-column-formatting/SKILL.md)
- [3. Styling and Colors](3-styling-and-colors/SKILL.md)
- [4. Conditional Formatting](4-conditional-formatting/SKILL.md)
- [5. Grouped Rows and Columns](5-grouped-rows-and-columns/SKILL.md)
- [6. Footnotes and Annotations (+1)](6-footnotes-and-annotations/SKILL.md)
- [Great Tables with Streamlit (+1)](great-tables-with-streamlit/SKILL.md)
- [1. Keep Tables Focused (+3)](1-keep-tables-focused/SKILL.md)
- [Common Issues](common-issues/SKILL.md)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!