Skip to main content

Create animated and pretty Pandas Dataframe

Project description

Rich DataFrame

Create animated and pretty Pandas Dataframe, as shown below:

image

Installation

pip install rich-dataframe

Usage

Minimal example

from sklearn.datasets import fetch_openml
from rich_dataframe import prettify

speed_dating = fetch_openml(name='SpeedDating', version=1)['frame']

table = prettify(speed_dating)
    

Parameters

  • df: pd.DataFrame The data you want to prettify
  • row_limit : int, optional Number of rows to show, by default 20
  • col_limit : int, optional Number of columns to show, by default 10
  • first_rows : bool, optional Whether to show first n rows or last n rows, by default True. If this is set to False, show last n rows.
  • first_cols : bool, optional Whether to show first n columns or last n columns, by default True. If this is set to False, show last n rows.
  • delay_time : int, optional How fast is the animation, by default 5. Increase this to have slower animation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rich-dataframe-0.1.9.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rich_dataframe-0.1.9-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file rich-dataframe-0.1.9.tar.gz.

File metadata

  • Download URL: rich-dataframe-0.1.9.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.8 Linux/5.3.0-64-generic

File hashes

Hashes for rich-dataframe-0.1.9.tar.gz
Algorithm Hash digest
SHA256 a933545995b4c811e9e25afa5e6ad41d56200b7691b68975e081be29ff9f30e1
MD5 96cdb3a269e4370b6b1e164c3c694c5f
BLAKE2b-256 afa37a183e96e22dca8021852c116bfb2eb477262ec7552bfe032f73fe296f15

See more details on using hashes here.

File details

Details for the file rich_dataframe-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: rich_dataframe-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.8 Linux/5.3.0-64-generic

File hashes

Hashes for rich_dataframe-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8d488fe0e59288069427ba431f985c588488da91b550cdd8518372eb8d4e2970
MD5 436c240fb3a0e67ebf16bcf32709b8f0
BLAKE2b-256 9f4f45ecc70da06875922e6d9ae3610552dcf06915037903009feab6ddba3089

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page