{"id":13478382,"url":"https://github.com/khuyentran1401/rich-dataframe","last_synced_at":"2025-04-09T16:18:16.627Z","repository":{"id":46177856,"uuid":"339067808","full_name":"khuyentran1401/rich-dataframe","owner":"khuyentran1401","description":"Create animated and pretty Pandas Dataframe","archived":false,"fork":false,"pushed_at":"2023-08-18T15:38:42.000Z","size":343,"stargazers_count":117,"open_issues_count":4,"forks_count":26,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T16:18:07.756Z","etag":null,"topics":["command-line","pandas","pandas-dataframe","python","rich-text"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/rich-dataframe/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khuyentran1401.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-02-15T12:17:08.000Z","updated_at":"2024-11-24T16:47:46.000Z","dependencies_parsed_at":"2024-01-13T19:21:35.698Z","dependency_job_id":"68f4a287-9561-4ef1-82e9-832bf05239d2","html_url":"https://github.com/khuyentran1401/rich-dataframe","commit_stats":{"total_commits":24,"total_committers":4,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"d106f6fd36e37230f841c4cb7a2e563f525ae40a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuyentran1401%2Frich-dataframe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuyentran1401%2Frich-dataframe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuyentran1401%2Frich-dataframe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuyentran1401%2Frich-dataframe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khuyentran1401","download_url":"https://codeload.github.com/khuyentran1401/rich-dataframe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065280,"owners_count":21041872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","pandas","pandas-dataframe","python","rich-text"],"created_at":"2024-07-31T16:01:56.249Z","updated_at":"2025-04-09T16:18:16.574Z","avatar_url":"https://github.com/khuyentran1401.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n[![License: Apache-2.0](https://img.shields.io/badge/Apache-2.0%20v3-blue.svg)](https://github.com/khuyentran1401/rich-dataframe/blob/master/LICENSE)\n\n# Rich DataFrame\n\nCreate animated and pretty Pandas Dataframe or Pandas Series, as shown below:\n\n![image](https://github.com/khuyentran1401/rich-dataframe/blob/master/images/prettify_table.gif?raw=True)\n\n# Installation\n```bash\npip install rich-dataframe\n```\n# Usage\n## Minimal example\n```python\nfrom sklearn.datasets import fetch_openml\nfrom rich_dataframe import prettify\n\nspeed_dating = fetch_openml(name='SpeedDating', version=1)['frame']\n\ntable = prettify(speed_dating)\n    \n```\n\nIf you want to pass a non-dataframe object, `rich_dataframe` got it covered too!\n```python \nfrom rich_dataframe import prettify\n\nvar = {'a': 1, 'b': 3}\nprettify(var)\n```\n![image](https://github.com/khuyentran1401/rich-dataframe/blob/master/images/non_dataframe.png?raw=True)\n## Parameters\n* **df: pd.DataFrame**\nThe data you want to prettify\n* **row_limit : int, optional**\n    Number of rows to show, by default `20`\n* **col_limit : int, optional**\n    Number of columns to show, by default `10`\n* **first_rows : bool, optional**\n    Whether to show first n rows or last n rows, by default `True`. If this is set to `False`, show last n rows.\n* **first_cols : bool, optional**\n    Whether to show first n columns or last n columns, by default `True`. If this is set to `False`, show last n rows.\n* **delay_time : int, optional**\n    How fast is the animation, by default `5`. Increase this to have slower animation.\n* **clear_console: bool, optional**\n    Clear the console before printing the table, by default True. If this is set to false the previous console input/output is maintained","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhuyentran1401%2Frich-dataframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhuyentran1401%2Frich-dataframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhuyentran1401%2Frich-dataframe/lists"}