Create animated and pretty Pandas Dataframe
Last updated Nov 19, 2025
119
Stars
26
Forks
4
Issues
0
Stars/day
Attention Score
44
Language breakdown
No language data available.
▸ Files
click to expand
README
Rich DataFrame
Create animated and pretty Pandas Dataframe or Pandas Series, as shown below:

Installation
pip install rich-dataframe
Usage
Minimal example
from sklearn.datasets import fetch_openml
from rich_dataframe import prettify
speeddating = fetchopenml(name='SpeedDating', version=1)['frame']
table = prettify(speed_dating)
If you want to pass a non-dataframe object, rich_dataframe got it covered too!
from rich_dataframe import prettify
var = {'a': 1, 'b': 3} prettify(var)
Parameters
- df: pd.DataFrame
- row_limit : int, optional
20 - col_limit : int, optional
10 - first_rows : bool, optional
True. If this is set to False, show last n rows. - first_cols : bool, optional
True. If this is set to False, show last n rows. - delay_time : int, optional
5. Increase this to have slower animation. - clear_console: bool, optional
🔗 More in this category