dataprep-ai
One-line, opinionated data cleaning for pandas/Polars.
Fix missing values, inconsistent categories, outliers, and duplicates with transparent logs and a reproducible report.
Installation
pip install dataprep-ai
----
For the optional explorer app:
pip install "dataprep-ai[app]"
Requirements
Python: 3.9 – 3.12
OS: Linux, macOS, Windows
Required libs (auto-installed): pandas, numpy, pyarrow, scikit-learn, pydantic, rich
Optional:
polars (enabled automatically where supported) — Polars round-trip I/O
streamlit, matplotlib — only needed for the explorer
Quickstart:
import pandas as pd
from dataprep_ai import clean, CleaningConfig
df = pd.DataFrame({
"age":[23, None, 25, 1000],
"income":[52000, 58000, None, 1200000],
"city":["NY","New York","nyc", None],
"id":[1,2,2,4]
})
result = clean(df, CleaningConfig(
id_columns=["id"],
outlier_strategy="iqr_cap",
categorical_normalization=True,
drop_duplicates=False
))
print(result.summary_markdown) # see cleaning report
df_clean = result.df # cleaned DataFrame
result.to_json("clean_report.json")
Streamlit Explorer:
pip install "dataprep-ai[app]"
streamlit run -m dataprep_ai.explore -- --csv your.csv
Backends
Input = pandas.DataFrame → Output = pandas.DataFrame
Input = polars.DataFrame → Output = polars.DataFrame (internally converts via pandas in v0.1)
License
Apache-2.0
Metadata
Release files for dataprep-ai 0.1.4
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 | |
|---|---|---|---|---|
| dataprep_ai-0.1.4.tar.gz | 6.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dataprep_ai-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / dataprep_ai-0.1.4.tar.gz
| Download URL | dataprep_ai-0.1.4.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3621c8ea6580f7e5e84a7479ecec40d9fdb5ab52180889160e884101ea9bb21
|
|
BLAKE2b-256 checksum How to use checksums |
ed8308fe50ac125af928768f5b440986866e23dbc584249497ddef594bc4a9d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / dataprep_ai-0.1.4-py3-none-any.whl
| Download URL | dataprep_ai-0.1.4-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e34e99f72eaf5d29a7dde7a9f7a175917f5d1598b2b89a43b05481dc643ac6b3
|
|
BLAKE2b-256 checksum How to use checksums |
8f43230e7d8e174542a6e09b2ab7b1675a63e53a84228dbff304f8b6df55b032
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for dataprep-ai 0.1.4
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.