Extended Statistics
Extended Statistics is a lightweight toolkit for comparing, profiling, and cleaning pandas DataFrames. It combines dataset diffing, an extended summary, and a handful of common cleaning transformations into a single, subpackage-organized API — built as a proof of concept for practicing Python package development fundamentals (structure, subpackages, testing, and packaging).
- GitHub | PyPI | Documentation
- Created by Djem Andreif Reyes
- MIT License
Features
- Dataset diffing: Compare two versions of a DataFrame and get a structured report of what changed: rows added/removed, columns added/removed, dtype changes, per-cell value changes (when a key column is provided), and shifts in summary statistics (mean/median/nulls) for numeric columns.
- Human-readable diff summaries: Turn a diff report into a plain-language sentence summary, no manual interpretation required.
- Dataset profiling: A single function that merges the useful parts of .describe() and .info() into one report: shape, memory usage, duplicate row count, and per-column stats (nulls, uniques, mean/median/std for numeric columns, top value/frequency for categorical columns).
- Basic cleaning utilities: Drop fully duplicate rows and standardize column names (lowercase, trimmed, underscore-separated) in one call each.
- Subpackage-organized API: Diffing, profiling, and cleaning each live in their own subpackage, with a top-level re-export layer so functions are accessible.
Installation
Stable Release
To install Extended Statistics, run this command in your terminal:
uv add extended_stats
Or if you prefer to use pip:
pip install extended_stats
From Source
The source files for Extended Statistics can be downloaded from the Github repo.
You can either clone the public repository:
git clone https://github.com/dreireyez/extended_stats
Or download the tarball:
curl -OJL https://github.com/dreireyez/extended_stats/tarball/main
Once you have a copy of the source, you can install it with:
cd extended_stats
uv sync
Usage
To use Extended Statistics in a project:
import extended_stats
Documentation
Full documentation is available on GitHub Pages.
Contributing
See CONTRIBUTING.md for development setup, testing, and documentation instructions.
Author
Extended Statistics was created in 2026 by Djem Andreif Reyes.
GitHub @dreireyez | PyPI @dreireyez
Release files for extended_stats 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| extended_stats-0.1.1.tar.gz | 20.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| extended_stats-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.3 kB
Release files / extended_stats-0.1.1.tar.gz
| Download URL | extended_stats-0.1.1.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68a8d793e680e628b03511c8e2cfc46e18b75ade0aeb69dd693d92c837675b64
|
|
BLAKE2b-256 checksum How to use checksums |
c3bbcb93b2d14f44be9753927b3d62e062f5b019d3f1fb12e6bc941482c658e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.0 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.14.3"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.0.18 30 Sep 2025","python":"3.14.3","system":{"name":"Windows","release":"11"}} HTTPX2/2.12.0
|
Release files / extended_stats-0.1.1-py3-none-any.whl
| Download URL | extended_stats-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a9c6d202f366ff7d7bc777523942fc1c39c41de431b639b7292b6602d800d24
|
|
BLAKE2b-256 checksum How to use checksums |
3de56347a29500f7dd35c4ea149add8208eeb0c154c154ef5a0b45d93717669f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.0 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.14.3"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.0.18 30 Sep 2025","python":"3.14.3","system":{"name":"Windows","release":"11"}} HTTPX2/2.12.0
|