HHammond / PrettyPandas

A Pandas Styler class for making beautiful tables
http://prettypandas.readthedocs.org/
MIT License
415 stars 23 forks source link
data-analysis data-science pandas pandas-dataframe pandas-dataframes pandas-styler python reporting

Pretty Pandas

Testing Status Documentation Status Supported Versions PyPI

PrettyPandas is a Pandas DataFrame Styler class that helps you create report quality tables with a simple API.

(
   df
   .pipe(PrettyPandas)
   .as_currency('GBP', subset='A')
   .as_percent(subset='B')
   .total()
   .average()
)

Features

Installation

You can install PrettyPandas using pip with support for Python 2.7, 3.3, 3.4, and 3.5:

pip install prettypandas

You can also install from source:

git clone git@github.com:HHammond/PrettyPandas.git
cd PrettyPandas
python setup.py install

Documentation

Documentation is hosted on Read the Docs.