Skip to main content

Automated EDA with insights, scoring, and security-aware detection — built as a native pandas extension.

Project description

NowEDA

Automated Exploratory Data Analysis — built as a native pandas extension.

NowEDA is a lightweight, modular Python framework that turns any dataset into instant insight. Load any file, call df.noweda.*, and get a full EDA report — including data quality scoring, PII detection, outlier analysis, and human-readable insights — with zero boilerplate.


Features

Feature Description
Universal ingestion CSV, Excel, JSON, XML, HTML
Native pandas accessor df.noweda.* — feels like pandas
Plugin architecture Every analysis is a swappable plugin
Schema inference Auto-detects IDs, categoricals, datetimes, text
Data quality scoring 0–100 quality + model-readiness score
Risk scoring PII and encoding risk level
PII detection Email addresses + extensible patterns
Encoding detection Base64 and obfuscation signals
Outlier detection IQR-based, per numeric column
Duplicate detection Exact row duplicates + constant columns
Actionable insights Human-readable text, not just numbers
HTML report Dark-themed, stakeholder-ready export
CLI One-liner from the terminal

Installation

cd NowEDA
pip install -e .

Requires Python 3.8+ and pandas 1.3+.


Quick Start

import noweda

df = noweda.read("data.csv")

# Still a regular pandas DataFrame — nothing changes
print(df.head())
print(df.describe())

# NowEDA layer
print(df.noweda.insights())   # human-readable insight list
print(df.noweda.score())      # quality, risk, model_readiness
print(df.noweda.summary())    # raw plugin results
report = df.noweda.report()   # full structured dict

All supported formats

df = noweda.read("data.csv")
df = noweda.read("data.xlsx", sheet_name="Sheet1")
df = noweda.read("data.json")
df = noweda.read("data.xml")
df = noweda.read("data.html")

Any **kwargs are forwarded to the underlying pandas reader.


CLI

# Print insights and scores to the terminal
noweda data.csv

# Export a dark-themed HTML report
noweda data.csv --html report.html

# Export a JSON report
noweda data.csv --json report.json

# Both at once
noweda data.csv --html report.html --json report.json

Score Breakdown

Score Range Meaning
data_quality 0–100 Penalised for missing values, duplicates, constants, outliers
model_readiness 0–100 Penalised for skew, untyped columns, high missingness
risk 0+ Added per PII column (+15) and encoded column (+10)

Plugin System

Every analysis step is an independent plugin. You can swap, extend, or disable plugins.

from noweda.core.engine import AutoEDAEngine
from noweda.plugins.missing import MissingDataPlugin
from noweda.plugins.pii import PIIDetectorPlugin

# Run only the plugins you want
engine = AutoEDAEngine([MissingDataPlugin(), PIIDetectorPlugin()])
report = engine.run_df(df)

Built-in plugins

Plugin Name key What it detects
SchemaPlugin schema Column roles: id, categorical, numeric, datetime, text
StatsPlugin stats Descriptive stats: mean, median, std, skewness, etc.
MissingDataPlugin missing Per-column missing rate
DuplicatesPlugin duplicates Duplicate rows, constant columns
CorrelationPlugin correlation Pearson correlation matrix (numeric columns)
OutlierPlugin outliers IQR-based outlier counts per column
PIIDetectorPlugin pii Email addresses (extensible to SSN, phone, etc.)
EncodingDetectionPlugin encoding Base64-encoded strings

Writing a custom plugin

from noweda.plugins.base import BasePlugin

class MyPlugin(BasePlugin):
    name = "my_check"

    def run(self, df):
        # return any JSON-serialisable dict
        return {"total_rows": len(df)}

HTML Report

noweda examples/sample.csv --html report.html

The report includes:

  • Score cards (quality, risk, model readiness)
  • Actionable insights list
  • Column schema table with inferred roles
  • Missing value bars
  • Duplicate and constant column summary
  • Outlier counts
  • PII findings (highlighted)
  • Encoding signals (highlighted)

Running Tests

pip install pytest
python -m pytest tests/ -v

Project Structure

NowEDA/
├── noweda/
│   ├── __init__.py          # exposes noweda.read()
│   ├── io.py                # file ingestion (all formats)
│   ├── accessor.py          # df.noweda.* pandas accessor
│   ├── core/
│   │   └── engine.py        # orchestrates plugins → scorer → insights
│   ├── plugins/
│   │   ├── base.py
│   │   ├── schema.py
│   │   ├── stats.py
│   │   ├── missing.py
│   │   ├── duplicates.py
│   │   ├── correlation.py
│   │   ├── outliers.py
│   │   ├── pii.py
│   │   └── encoding.py
│   ├── scoring/
│   │   └── scorer.py
│   ├── insights/
│   │   └── generator.py
│   ├── report/
│   │   └── html.py
│   └── cli.py
├── examples/
│   └── sample.csv
├── tests/
│   └── test_basic.py
└── pyproject.toml

Roadmap

  • Visualization layer (histograms, correlation heatmap)
  • Dataset fingerprinting / hash-based change detection
  • Additional PII patterns (phone, SSN, credit card)
  • Streaming / chunked ingestion for large files
  • PyPI publish
  • Web dashboard UI

Author

Daniel Pengdanielpeng@osiris.cyber.nyu.edu

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

noweda-0.1.0.tar.gz (80.2 kB view details)

Uploaded Source

Built Distribution

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

noweda-0.1.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file noweda-0.1.0.tar.gz.

File metadata

  • Download URL: noweda-0.1.0.tar.gz
  • Upload date:
  • Size: 80.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for noweda-0.1.0.tar.gz
Algorithm Hash digest
SHA256 484f29bedf9b7f782e71b3daf69823ab7f71296e46d0f4153d388571ffea8e89
MD5 852dfcb983d1ac990be53eb436bb8c9f
BLAKE2b-256 e6f5d7f549504c939337430a610e11e27f2a36c9dfa7398f7f04b63401ba15da

See more details on using hashes here.

File details

Details for the file noweda-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: noweda-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for noweda-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42cb0ffa767d66e71c3b5892dde929f359d7c0f505386aa12424be67cf3d0410
MD5 7834df147e787520121f7d24489ef692
BLAKE2b-256 029c35e07487df5c59dad6eafc5eacaa581320d87bd0af53791493392d28d0e3

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