PrettyPandas Documentation

PrettyPandas Documentation

Release 0.0.4 Henry Hammond

Mar 26, 2018

Contents

1 Features

3

2 Installation

5

3 Contributing

7

4 Contents

9

4.1 Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

4.2 Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

4.3 prettypandas package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

5 Indices and tables

21

Python Module Index

23

i

ii

PrettyPandas Documentation, Release 0.0.4

PrettyPandas is an extension to the Pandas DataFrame class that helps you create report qualitiy tables with a simple API.

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

)

Contents

1

PrettyPandas Documentation, Release 0.0.4

2

Contents

1 CHAPTER

Features

? Add summary rows and columns. ? Number formatting for currency, scientific units, and percentages. ? Chaining commands. ? Works seamlessly with Pandas Style API. Note: Version 0.0.4 removes the apply_pretty_globals function and other custom CSS properties because Pandas and Jupyter now defaults to providing great looking html tables. If you still want custom CSS you can use the Pandas Style API.

3

PrettyPandas Documentation, Release 0.0.4

4

Chapter 1. Features

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download