Skip to main content

Extended Statistics

PyPI version PyPI downloads

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

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.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 extended_stats 0.1.0
File Size Uploaded
extended_stats-0.1.0.tar.gz 20.6 kB Details

Built distribution (wheel)

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

Total release size: 30.3 kB

Release files / extended_stats-0.1.0.tar.gz

Download URL extended_stats-0.1.0.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e4e8f0739224afad008519ea87f1bc65424432153e5fea0f033e7267389d530d
BLAKE2b-256 checksum
How to use checksums
4271ded74c29a0eeddc7f930e31a44a60a5f5fb11de66c60160e371526c28b2a
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.0-py3-none-any.whl

Download URL extended_stats-0.1.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96c8540a90ee1b04186435486119ece20e412d2a7b7517913c770212f87a706d
BLAKE2b-256 checksum
How to use checksums
5ed1e81ed032b948195c447eb18d7b6079c50900bdb7aa8c3a497ae195677dca
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 history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

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