Skip to main content

Code style: black License: Apache-2.0

Rich DataFrame

Create animated and pretty Pandas Dataframe or Pandas Series, 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)
    

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)

image

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.
  • clear_console: bool, optional Clear the console before printing the table, by default True. If this is set to false the previous console input/output is maintained

Metadata

Release files for rich-dataframe2 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rich-dataframe2 0.2.1
File Size Uploaded Provenance Actions
rich_dataframe2-0.2.1.tar.gz 7.4 kB Without provenance Details for rich_dataframe2-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rich-dataframe2 0.2.1
File Interpreter ABI Platform Actions
rich_dataframe2-0.2.1-py3-none-any.whl Python 3 none any Details for rich_dataframe2-0.2.1-py3-none-any.whl

Total release size: 15.5 kB

Release files / rich_dataframe2-0.2.1.tar.gz

Download URL rich_dataframe2-0.2.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d4935993cb213463e0bf0972569a2667ebe18c672d2cef67a6932a22aff695a5
BLAKE2b-256 checksum
How to use checksums
63a34e9b80e507b6033269f80637c8a91a65f36ab5ca11333baabb6fc89eabc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.2 Darwin/23.4.0

Release files / rich_dataframe2-0.2.1-py3-none-any.whl

Download URL rich_dataframe2-0.2.1-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
effb7f4535631c043bc2e35c9fd8d64d6c1778ce67d3d2f6a80940f7dffb9f0b
BLAKE2b-256 checksum
How to use checksums
aa42a1e6ddf9d27ba756fff944df0f4d0fb8c4b801de6f0a14670958877ad257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.2 Darwin/23.4.0

Security for rich-dataframe2 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page