Skip to main content

EDA VizKit

PyPI Docs Site Python uv CI Status License: MIT

CI Docs Links Dependabot

profile logo

Reusable visualizations for inspecting and exploring data.

EDA VizKit provides high-level Python functions for common exploratory data analysis visualizations. The package works with ordinary pandas DataFrames and returns Matplotlib Axes objects.

EDA VizKit does not clean data, classify variables, select relationships, make analytical decisions, or interpret results.

Design

  • Accept ordinary pandas DataFrames and explicit column names.
  • Provide reusable visualizations for common EDA tasks.
  • Return Matplotlib Axes objects.
  • Never call plt.show().
  • Keep analytical choices visible to the caller.
  • Avoid dependencies on analytical workflow frameworks.
  • Keep the implementation readable and replaceable.

Install

uv add eda-vizkit

Example

from eda_vizkit import show_numeric_distribution

ax = show_numeric_distribution(
    df,
    column="body_mass_g",
)

ax.set_title("Penguin Body Mass")

The caller controls display and composition. In a script, for example:

import matplotlib.pyplot as plt

from eda_vizkit import show_numeric_distribution

ax = show_numeric_distribution(
    df,
    column="body_mass_g",
)

plt.show()

Initial API

Distributions:

  • show_numeric_distribution()
  • show_categorical_distribution()

Relationships:

  • show_numeric_relationship()
  • show_numeric_by_category()

Data quality:

  • show_missing_values()

Public Contract

Every public visualization helper:

  • accepts already-available data,
  • keeps the analytical choice explicit,
  • returns a Matplotlib Axes object,
  • never calls plt.show().

This allows the visualization helpers to work in scripts, applications, notebooks, documentation, and other presentation environments.

Example: Numeric Distribution

from eda_vizkit import show_numeric_distribution

ax = show_numeric_distribution(
    df,
    column="flipper_length_mm",
)

Example: Categorical Distribution

from eda_vizkit import show_categorical_distribution

ax = show_categorical_distribution(
    df,
    column="species",
)

Example: Numeric Relationship

from eda_vizkit import show_numeric_relationship

ax = show_numeric_relationship(
    df,
    x="flipper_length_mm",
    y="body_mass_g",
)

Example: Numeric Variable by Category

from eda_vizkit import show_numeric_by_category

ax = show_numeric_by_category(
    df,
    numeric="body_mass_g",
    category="species",
)

Example: Missing Values

from eda_vizkit import show_missing_values

ax = show_missing_values(df)

Developer Command Reference

Show command reference

In a machine terminal

Open a machine terminal where you want the project:

git clone https://github.com/analytics-toolworks/eda-vizkit

cd eda-vizkit
code .

In a VS Code terminal

uv self update
uv python pin 3.14
uv python install
uv lock --upgrade
uv sync

uv run pre-commit install
uv run pre-commit autoupdate

git add -A
uv run pre-commit run --all-files
# repeat if changes were made
uv run pre-commit run --all-files

# types, tests, docs
uv run ty check
uv run python -m pytest
uv run python -m zensical build

# save progress
git add -A
git commit -m "update"
git push -u origin main

Documentation

Annotations

.annotations/annotations.md

Citation

CITATION.cff

License

MIT

Download files

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

Source Distribution

eda_vizkit-0.0.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

eda_vizkit-0.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file eda_vizkit-0.0.1.tar.gz.

File metadata

  • Download URL: eda_vizkit-0.0.1.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for eda_vizkit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a6d3ffc9d5cc8d2eb76c151b1203c2199fb5be58bb7d6fb864a43c524e315fcf
MD5 cbadfaf8bf989c58332a692c9d7873d5
BLAKE2b-256 9c22145a40fed18ecef8b4935bfa57c044848f854f52a0f4fc295da7ba125071

See more details on using hashes here.

Provenance

The following attestation bundles were made for eda_vizkit-0.0.1.tar.gz:

Publisher: release-pypi.yml on analytics-toolworks/eda-vizkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eda_vizkit-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: eda_vizkit-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for eda_vizkit-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ba6f513ca662f6ccc8d62dec8753c970648ee6bd85a07a8b67151323705d8c6
MD5 6a7f1e543f93c432b4364f3c7fd004c0
BLAKE2b-256 27bb294ae6681191782ba56321024f254a31e4f7be79da63ebdbc9b8f43a6f92

See more details on using hashes here.

Provenance

The following attestation bundles were made for eda_vizkit-0.0.1-py3-none-any.whl:

Publisher: release-pypi.yml on analytics-toolworks/eda-vizkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.0

2 files

This release

0.0.1 This release

2 files

Supported by

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