Skip to main content

descripstats

descripstats is a lightweight Python package that extends pandas DataFrame.describe() by adding additional descriptive statistics commonly used in exploratory data analysis (EDA).

It is designed to be simple, minimal, and compatible with modern versions of pandas (2.x+).


✨ Features

In addition to the default pandas describe(), this package provides:

  • mad: mean absolute deviation
  • variance: variance
  • sem: standard error of the mean
  • sum: column sums
  • skewness: distribution skew
  • kurtosis: distribution kurtosis

📦 Installation

pip install descripstats

🚀 Usage

Option 1: Direct import

from descripstats import Describe

import pandas as pd

df = pd.read_csv("your_data.csv")

stats = Describe(df)
print(stats)

Option 2: Module import

import descripstats as ds

stats = ds.Describe(df)
print(stats)

⚠️ Note: The correct function name is Describe (not Discribe).


📊 Example

import pandas as pd
from descripstats import Describe

df = pd.DataFrame({
    "A": [1, 2, 3, 4, 5],
    "B": [10, 20, 30, 40, 50]
})

result = Describe(df)
print(result)

⚙️ Compatibility

  • pandas ≥ 2.0
  • numpy ≥ 1.21
  • Python ≥ 3.9

This package has been updated to remove deprecated pandas APIs such as DataFrame.mad().


📁 Documentation

Example notebook:

https://github.com/shoukewei/descripstats/blob/main/docs/example.ipynb


👤 Author

Developed by Shouke Wei
Deepsim Intelligence Technology Inc., Canada
© 2022–2026


🧠 Notes

This package is intended for:

  • quick EDA (exploratory data analysis)
  • educational use
  • lightweight statistical summaries

For advanced statistical workflows, consider using:

  • pandas
  • scipy
  • statsmodels

Metadata

Release files for descripstats 0.1.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 descripstats 0.1.1
File Size Uploaded Provenance Actions
descripstats-0.1.1.tar.gz 4.3 kB Without provenance Details for descripstats-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 8.3 kB

Release files / descripstats-0.1.1.tar.gz

Download URL descripstats-0.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c8ba6003f918e2c4c922907dfc9a0cbaf8f08154867fc69292933bfd733b5430
BLAKE2b-256 checksum
How to use checksums
1867c5c1d04f2f663e062b32645ac6e155c68ee68290d7c5f3bda38f1eec27e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / descripstats-0.1.1-py3-none-any.whl

Download URL descripstats-0.1.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
626da74a6527cca09f2fb6e8ae29653fd380ae73de9d39a86bc4dc9306573ddf
BLAKE2b-256 checksum
How to use checksums
6b73691c5b1f7fbe8522b91f467e15ec01146304dd7d47286392d36093766e2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for descripstats 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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