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

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.2
File Size Uploaded
flatbread-0.3.2.tar.gz 81.0 kB Details

Built distribution (wheel)

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

Total release size: 155.5 kB

Release files / flatbread-0.3.2.tar.gz

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

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

Download URL flatbread-0.3.2-py3-none-any.whl
Size 74.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f5a09ceee40dc8212815d068c04db74f8eeea55c614bb9b08e6ddaf3ded23ba
BLAKE2b-256 checksum
How to use checksums
dd5b55b2b8e67b86db1f73c5b087e32bf8f7037b720a9e9eafb6efaf422513f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

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