Skip to main content

One-line Exploratory Data Analysis (EDA) library

Project description

myeda

PyPI version Total Downloads Monthly Downloads GitHub stars License CI Status Python Versions

A lightweight Exploratory Data Analysis (EDA) library that provides one-line statistical summaries and optional visualizations for faster data understanding.

Features

One-line EDA summaries

Missing value analysis

Descriptive statistics

Optional visualizations (explicit, not automatic)

Clean, modular API

Beginner-friendly and extensible

Installation

pip install myeda

Basic Usage

import pandas as pd
from myeda import overview, report

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

overview(df)
report(df)

Visualizations

from myeda.viz import (
    plot_numeric_distribution,
    plot_boxplot,
    plot_categorical_counts,
    plot_correlation_heatmap
)

plot_numeric_distribution(df, "Age")
plot_boxplot(df, "Fare")
plot_categorical_counts(df, "Sex")
plot_correlation_heatmap(df)

Visualizations are never automatic — you control when to plot.

Project Structure

EDA/
|-- examples/
|   |-- titanic_dataset.csv
|   `-- titanic_demo.ipynb
|
|-- myeda/
|   |-- __init__.py
|   |-- report.py
|   |
|   |-- core/
|   |   |-- overview.py
|   |   |-- missing.py
|   |   `-- statistics.py
|   |
|   `-- viz/
|       `-- visualization.py
|
|-- tests/
|   `-- test_statistics.py
|
|-- setup.py
|-- pyproject.toml
|-- requirements.txt
|-- README.md
|-- LICENSE
`-- .gitignore

Module Responsibilities

core/overview.py

Dataset shape

Column types

Basic dataset information

core/missing.py

Missing value counts

Missing percentage per column

core/statistics.py

Mean, median, mode

Variance, standard deviation

Numerical summaries

viz/visualization.py

Numeric distributions

Boxplots

Categorical counts

Correlation heatmaps

Examples

Check the examples/ directory for:

Titanic dataset

Jupyter notebook demonstrating full EDA workflow

How users can import EVERYTHING

Dataset overview

from myeda import dataset_overview

dataset_overview(df)

Missing-value analysis

from myeda import missing_overview, missing_summary

missing_overview(df)
missing_summary(df)

Statistical summaries

from myeda import numeric_summary, categorical_summary

numeric_summary(df)
categorical_summary(df)

Visualizations (explicit & optional)

from myeda import (
    plot_numeric_distribution,
    plot_boxplot,
    plot_categorical_counts,
    plot_correlation_heatmap,
)

plot_numeric_distribution(df, "Age")
plot_boxplot(df, "Fare")
plot_categorical_counts(df, "Sex")
plot_correlation_heatmap(df)

Full EDA (recommended)

from myeda import EDAReport

eda = EDAReport(df)
results = eda.run()

Testing

pytest

License

MIT License

Author

Khaja Mubashir Arsalan

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

myeda-0.1.14.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

myeda-0.1.14-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file myeda-0.1.14.tar.gz.

File metadata

  • Download URL: myeda-0.1.14.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for myeda-0.1.14.tar.gz
Algorithm Hash digest
SHA256 a5b941210867001c3ba08ec9c24d3772d611108702d689487bbfb84e2fa23a3b
MD5 0d25ada555ea28345dc3e76c4694093a
BLAKE2b-256 85db02785be2ae4610753dcc796da1b8fd3ee8aa461897bcb88167acb67da2a7

See more details on using hashes here.

File details

Details for the file myeda-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: myeda-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for myeda-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 bf2fdc270d2ed344e09b10631ee1f791f53386455e27879b3c2620a37380559b
MD5 4c980282017ee57af387f80ed8ca820e
BLAKE2b-256 e7bf2480387a7282b931198cdb1ee03fd628421aed2dfee6f84e5bbc6327c21c

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