| 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
pip install great_tables
pip install great_tables pandas polars
pip install great_tables webshot
uv pip install great_tables pandas polars
python -c "from great_tables import GT; print('Great Tables ready!')"
Complete Examples
Example 1: Financial Report Table
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: = ,
output_path: =
*See sub-skills full details.*
```python
great_tables GT, html
great_tables style, loc
pandas pd
numpy np
create_sales_dashboard_table() -> GT:
*See sub-skills full details.*
```python
great_tables GT
great_tables style, loc
pandas pd
numpy np
create_scientific_table() -> GT:
*See sub-skills full details.*
- **** (): Initial release
- Basic table creation styling
- Column formatting ()
- Conditional formatting color scales
- Row column grouping
- Footnotes annotations
- Export to HTML images
- Complete report examples
- Integration Streamlit Polars
- Best practices troubleshooting
- **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 Great Tables - beautiful data presentation made easy!**
- [ Basic Table Creation]()
- [ Column Formatting]()
- [ Styling Colors]()
- [ Conditional Formatting]()
- [ Grouped Rows Columns]()
- [ Footnotes Annotations ()]()
- [Great Tables Streamlit ()]()
- [ Keep Tables Focused ()]()
- [Common Issues]()