Flatbread
Pandas extension for aggregation and tabular display. Access it through
the pita accessor on DataFrames and Series.
Installation
pip install flatbread
Quick example
import pandas as pd
import flatbread
result = (
df
.pita.add_totals()
.pita.add_subtotals(level=0)
.pita.add_percentages(interleaf=True)
)
Features
- Totals and subtotals (rows and columns)
- Percentages, differences, percentage change
- Custom aggregations
- Layered configuration (defaults, user, project)
- Interactive table display for Jupyter notebooks
Metadata
Release files for flatbread 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flatbread-0.3.0.tar.gz | 77.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flatbread-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 150.5 kB
Release files / flatbread-0.3.0.tar.gz
| Download URL | flatbread-0.3.0.tar.gz |
|---|---|
| Size | 77.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17a64dce1eec44fc09ad4577afb3951960292c0972eca08c3599b3477e513639
|
|
BLAKE2b-256 checksum How to use checksums |
4941bdf3d17662d1efcce3e5d0610d1fe3aefff939263c35583a9c2a48bd3600
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Release files / flatbread-0.3.0-py3-none-any.whl
| Download URL | flatbread-0.3.0-py3-none-any.whl |
|---|---|
| Size | 72.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d09871c103df0505f1b0e8496e4ccfb7bddd2d4a67598b98f7649113d51f8dba
|
|
BLAKE2b-256 checksum How to use checksums |
96403bfaa9b181807b9710c7b52022185166c8c4dfe175d84b900b224976ec35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|