dataset-inspector
A lightweight CLI tool to quickly analyze CSV datasets and detect common issues before training ML models.
Features
- Basic statistics – mean, std, min, max, median, quartiles for every numeric column
- Missing values – per-column count and percentage
- Duplicate rows – exact duplicate detection
- Class imbalance – minority/majority ratio check for categorical columns
- Anomaly detection – IQR or z-score based outlier flagging
- Terminal report – clean, colour-coded output
- JSON export – optional machine-readable report
Installation
pip install dataset-inspector
Quick start
# Analyse the included example dataset
python -m dataset_inspector --input examples/sample.csv
# Specify a target column for class-imbalance check
python -m dataset_inspector --input data.csv --target label
# Use z-score anomaly detection and export JSON
python -m dataset_inspector --input data.csv --anomaly-method zscore --json report.json
# Enable verbose / debug logging
python -m dataset_inspector --input data.csv -v
Project structure
dataset_inspector/
├── __init__.py # package metadata
├── __main__.py # python -m entry point
├── cli.py # argument parsing (argparse)
├── analyzer.py # core analysis logic
├── report.py # terminal + JSON report formatting
└── utils.py # logging helpers
examples/
└── sample.csv # small demo dataset
Metadata
Release files for dataset-inspector 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dataset_inspector-0.0.2.tar.gz | 8.8 kB | Without provenance | Details for dataset_inspector-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dataset_inspector-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for dataset_inspector-0.0.2-py3-none-any.whl |
Total release size: 18.3 kB
Release files / dataset_inspector-0.0.2.tar.gz
| Download URL | dataset_inspector-0.0.2.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50e173f0cfb417147dea23f5bd1781c6eff2ce72a52fff6402bab717a47bdb87
|
|
BLAKE2b-256 checksum How to use checksums |
b67d09f8996f0fe3c6949b3409ec4849f78928fc7ca7681311c946982c9f3391
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / dataset_inspector-0.0.2-py3-none-any.whl
| Download URL | dataset_inspector-0.0.2-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62c53b183af918a75aa45462336bac70b58771f953c4ed6f0718c940f48e427e
|
|
BLAKE2b-256 checksum How to use checksums |
3ce9c4e3de039beee9be9f831f9013755291ca4e8fcea541cab965bc2c4e690c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for dataset-inspector 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.