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.1

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.1
File Size Uploaded
flatbread-0.3.1.tar.gz 79.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flatbread 0.3.1
File Interpreter ABI Platform
flatbread-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 153.7 kB

Release files / flatbread-0.3.1.tar.gz

Download URL flatbread-0.3.1.tar.gz
Size 79.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e8b5c4e6fd75a462050abbf13805e8c1ff59cc8d329434da39760d8f4b55336a
BLAKE2b-256 checksum
How to use checksums
bc88e24970e96a5474979afb5112a39532ceed805dc5cf9857cd73427401347e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / flatbread-0.3.1-py3-none-any.whl

Download URL flatbread-0.3.1-py3-none-any.whl
Size 74.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3261d66e17f6693f53924cddf3127d827a0110b47d5020414d0ed2a39254ded
BLAKE2b-256 checksum
How to use checksums
07c815c15affeed90f77844a49aaf68515f39ff6840712d2cb84f570b226ef92
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

This release

0.3.1 This release

2 release files

0.3.0

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