Skip to main content

Flatbread

Pandas extension for aggregation and tabular display. Access it through the pita accessor on DataFrames and Series.

Documentation

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)

Source distribution for flatbread 0.3.0
File Size Uploaded
flatbread-0.3.0.tar.gz 77.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flatbread 0.3.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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