pandas-eda-check
pandas-eda-check is a lightweight utility for quickly summarizing data types,
unique values, completeness, and missingness in a pandas DataFrame.
Features
- One-row-per-column data quality report
- Dataset-level missing-data summary
- Optional filtering to columns with missing values
- Sorting by missing percentage, missing count, unique count, or data type
- Report metadata stored in
DataFrame.attrs - Safe handling of empty DataFrames and duplicate column names
Installation
pip install pandas-eda-check
Python 3.9 or newer is required.
Usage
import pandas as pd
from pandas_eda_check import check
df = pd.DataFrame(
{
"name": ["Ada", "Bob", "Bob"],
"age": [36, None, 29],
"city": ["London", "Paris", None],
}
)
report = check(df)
print(report)
Console summary:
Data Shape: (3, 3)
Total Missing Cells: 2
Rows With Missing Values: 2
Overall Missing Percentage: 22.22%
Report:
Data Type Unique Values Values Present Missing Count Missing %
name object 2 3 0 0.00
age float64 2 2 1 33.33
city object 2 2 1 33.33
The original DataFrame column names are used as the report index.
Parameters
check(
data,
include_dtypes=True,
include_complete=True,
sort_by=None,
ascending=False,
round_digits=2,
display=True,
)
| Parameter | Description |
|---|---|
data |
pandas DataFrame to inspect. |
include_dtypes |
Include the Data Type report column. |
include_complete |
Include columns that have no missing values. |
sort_by |
Sort by missing_pct, missing_count, unique, or dtype. |
ascending |
Use ascending order when sorting. |
round_digits |
Non-negative number of decimal places for percentages. |
display |
Print the dataset-level summary. |
Sorting
check(df, sort_by="missing_pct")
check(df, sort_by="missing_count")
check(df, sort_by="unique")
check(df, sort_by="dtype", ascending=True)
Columns with missing values only
missing_columns = check(df, include_complete=False)
Suppress console output
report = check(df, display=False)
Report metadata
report.attrs["shape"]
report.attrs["total_missing_cells"]
report.attrs["rows_with_missing"]
report.attrs["overall_missing_percent"]
Development
Install the package and development tools in editable mode:
python -m pip install -e ".[dev]"
Run the tests:
python -m pytest
Build and validate the distribution:
python -m build
python -m twine check dist/*
License
MIT License. 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pandas_eda_check-0.2.0.tar.gz.
File metadata
- Download URL: pandas_eda_check-0.2.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4a7f8a69a9f3170547df541fb704e1f11f48d50b0978f5aefc9bda5903e3699
|
|
| MD5 |
8d666d34244952e2bcac4758600b444e
|
|
| BLAKE2b-256 |
ac29e90cbffd062a717f2d60fa0c6343f0ae45dd1e80495dd281d4e1c803d0de
|
Provenance
The following attestation bundles were made for pandas_eda_check-0.2.0.tar.gz:
Publisher:
publish.yml on CS-Ponkoj/pandas_eda_check
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pandas_eda_check-0.2.0.tar.gz -
Subject digest:
e4a7f8a69a9f3170547df541fb704e1f11f48d50b0978f5aefc9bda5903e3699 - Sigstore transparency entry: 2257573906
- Sigstore integration time:
-
Permalink:
CS-Ponkoj/pandas_eda_check@879381f79ef3f6460da9fee992336067dfa52ff9 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/CS-Ponkoj
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@879381f79ef3f6460da9fee992336067dfa52ff9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pandas_eda_check-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pandas_eda_check-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39aab07988140e53821d67de6b92d5417cbbe9be165f01102f8304303d8e1bed
|
|
| MD5 |
6275382913db0b1d0cd60ab266b6b8b7
|
|
| BLAKE2b-256 |
ccbf5ab8439ecb192175e83868555a65a33c7b9f29208508dfd01ba3c5e017c1
|
Provenance
The following attestation bundles were made for pandas_eda_check-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on CS-Ponkoj/pandas_eda_check
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pandas_eda_check-0.2.0-py3-none-any.whl -
Subject digest:
39aab07988140e53821d67de6b92d5417cbbe9be165f01102f8304303d8e1bed - Sigstore transparency entry: 2257573921
- Sigstore integration time:
-
Permalink:
CS-Ponkoj/pandas_eda_check@879381f79ef3f6460da9fee992336067dfa52ff9 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/CS-Ponkoj
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@879381f79ef3f6460da9fee992336067dfa52ff9 -
Trigger Event:
push
-
Statement type: