Skip to main content

simple-eda-deyuzhu

Tiny EDA helper for pandas. It gives you a handful of boring, useful functions for a first look at a DataFrame — plain dicts, lists, and a pandas Series — plus a few matplotlib charts built on top of them.

Install

pip install simple-eda-deyuzhu

Or, from a local checkout (editable / development install):

# run from the folder that contains pyproject.toml
python -m pip install -e .

Use

import pandas as pd
import simple_eda as eda

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

# --- plain-data helpers ---
eda.summarize(df)            # {'rows': 344, 'columns': 8, 'names': [...], 'dtypes': {...}}
eda.missing(df)              # null counts per column, sorted descending
eda.numeric_columns(df)      # ['bill_length_mm', 'bill_depth_mm', ...]
eda.categorical_columns(df)  # ['species', 'island', 'sex']

# --- charts (matplotlib) ---
eda.plot_missing(df)
eda.plot_category_counts(df, "species")
eda.plot_scatter(df, "bill_length_mm", "bill_depth_mm", hue="species")
eda.plot_scatter(df, "flipper_length_mm", "body_mass_g", hue="species", legend=True)
eda.plot_group_means(df, "body_mass_g", "species", hue="sex")

See demo/demo.ipynb for a full walkthrough on the Palmer Penguins dataset.

API

Function Returns What it does
summarize(df) dict Rows, columns, column names, and dtypes.
missing(df) pandas.Series Null counts per column, sorted descending.
numeric_columns(df) list[str] Names of numeric columns.
categorical_columns(df) list[str] Names of object/category columns.
plot_missing(df) Axes Horizontal bar of missing values per column.
plot_category_counts(df, column) Axes Bar chart of a category's counts, most to least.
plot_scatter(df, x, y, hue=None, legend=False) Axes Scatter of two numeric columns, coloured by a category.
plot_group_means(df, value, group, hue=None) Axes Dot plot of a value's mean per group.

The charts follow the Evergreen & Emery Data Visualization Checklist: descriptive titles, direct labels, intentional ordering, one action colour with muted supporting data, and a colourblind-safe palette.

Notes

  • Input: pandas DataFrame only (not Polars, Spark, Dask, or Arrow yet).
  • Data helpers return plain objects and never modify the DataFrame in place.
  • Plotting needs matplotlib; it is imported lazily, so import simple_eda works even where matplotlib is absent — you only need it when you draw.

License

MIT — see LICENSE.

Download files

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

Source Distribution

simple_eda_deyuzhu-0.2.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

simple_eda_deyuzhu-0.2.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file simple_eda_deyuzhu-0.2.0.tar.gz.

File metadata

  • Download URL: simple_eda_deyuzhu-0.2.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for simple_eda_deyuzhu-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c2c27a352795a0e5fa78c5cd280c39b17ad09bbcd1e73976a7324e1f81b669e9
MD5 4d335c231e129c3abae1125e5770842c
BLAKE2b-256 19e645fe49d60cd522db4dacb9f21e35f22baed3b52393c82c615a128ac2ab52

See more details on using hashes here.

File details

Details for the file simple_eda_deyuzhu-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_eda_deyuzhu-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2146ee92942f02f4107453dd6482c7f6ff259821ab23bc7ffc0fab94f7f1009
MD5 6fd1a5643bcdc1e72519086eec05ece1
BLAKE2b-256 4f3434398311e82d68f05ead81d90a2044b86229d714fbe01c9140ac18f96afc

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 Sentry Error logging StatusPage Status page