You are here: Home / LBN / Up2date / Business / BastionLinux 36 / python3-rich-dataframe-0.2.0-1.lbn36.noarch

python3-rich-dataframe-0.2.0-1.lbn36.noarch

Package Attributes
RPM  python3-rich-dataframe-0.2.0-1.lbn36.noarch.rpm Architecture  noarch Size  30249 Created  2024/01/21 13:51:34 UTC
Package Specification
Summary Create animated and pretty Pandas Dataframe
Group Unspecified
License ZPL
Home Page https://pypi.org/project/rich-dataframe
Description

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

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)

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

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadIsZstd)  
Provides
python-rich-dataframe
python3-rich-dataframe
python3.10-rich-dataframe
python3.10dist(rich-dataframe)
python3dist(rich-dataframe)
Obsoletes
python-rich-dataframe

Document Actions