Skip to main content

Extended descriptive statistics for pandas DataFrames

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

descripstats-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

descripstats-0.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file descripstats-0.1.1.tar.gz.

File metadata

  • Download URL: descripstats-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for descripstats-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c8ba6003f918e2c4c922907dfc9a0cbaf8f08154867fc69292933bfd733b5430
MD5 16ed201427d9fb759599966b28691e2b
BLAKE2b-256 1867c5c1d04f2f663e062b32645ac6e155c68ee68290d7c5f3bda38f1eec27e5

See more details on using hashes here.

File details

Details for the file descripstats-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: descripstats-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for descripstats-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 626da74a6527cca09f2fb6e8ae29653fd380ae73de9d39a86bc4dc9306573ddf
MD5 8c4fd6567545825e65bedac03a298e20
BLAKE2b-256 6b73691c5b1f7fbe8522b91f467e15ec01146304dd7d47286392d36093766e2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page