framezip
A lightweight Python module for packing and unpacking pandas DataFrames by grouping rows into list-aggregated columns and exploding them back into individual rows.
Features
- Pack rows sharing common keys into a single row with list-aggregated columns.
- Unpack those list columns back into multiple rows.
- Flexible column referencing by name or integer index.
Installation
Make sure you have pandas installed:
pip install framezip
Use Cases
- Aggregate user sessions or grouped events into compact representations.
- Compress DataFrame rows for efficient storage or transfer.
- Switch easily between grouped (packed) and row-wise (unpacked) views.
- Prepare data for modeling or reporting workflows requiring different granularities.
Notes
- Accepts column indices or names for flexibility.
- Uses pandas groupby().agg(list) and explode() for performance.
- Requires pandas version 0.25 or later (for explode() support).
Metadata
Release files for framezip 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| framezip-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for framezip-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| framezip-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for framezip-0.1.0-py3-none-any.whl |
Total release size: 7.5 kB
Release files / framezip-0.1.0.tar.gz
| Download URL | framezip-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cc7145faf7b78a2e327ab896e5b99e1eac055a40894e57fcf0fa8dcb27eb814
|
|
BLAKE2b-256 checksum How to use checksums |
24a8e7ef5f2bee76347c9929d00e1df0cf96fb42ea65189b35b5293a5695c843
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / framezip-0.1.0-py3-none-any.whl
| Download URL | framezip-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e5dc95a5f8f4d70ca72728b33f596e6030cd0c79fab563fcb15cf03a7e7140c
|
|
BLAKE2b-256 checksum How to use checksums |
097343c386bc0f7ce705e17d8915c04f82d08768e48efe592d4eadfc55e25992
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for framezip 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.