reactable generates interactive tables in Python. It's a port of the R package reactable by @glin.
See these handy documentation pages:
- controls: sorting, filtering, and pagination.
- structure: grouping, aggregating, expanding rows.
- format: represent numbers, dates, currencies.
- style: conditional styling for headers, cell values, and more.
pip install reactable
Use with jupyter notebooks or quarto documents (.qmd) to display tables.
from reactable import Reactable, embed_css
from reactable.data import sleep
embed_css()
Reactable(sleep)
Essentials
Controls
Structure
Format
- Column formatting
- Column aggregated cells
- Rendering cells
- Rendering header and footer
- Rendering details
Style
Extra