One-line smart preprocessing for ML: impute, encode, scale, and (optionally) clip outliers.
Project description
smart_preprocess
One-line smart preprocessing for ML: impute, encode, scale, and (optionally) clip outliers.
Install
pip install smart_preprocess
import pandas as pd
from smart_preprocess import SmartCleaner
df = pd.DataFrame({
"age": [20, 21, None, 23, 1000],
"city": ["A", "B", "A", None, "C"]
})
cleaner = SmartCleaner(outlier_clip=True)
X = cleaner.fit_transform(df)
print(cleaner.report_)
✅ That README will appear automatically on PyPI and GitHub later.
---
### 🪪 3️⃣ File: `LICENSE`
Paste the MIT license text:
```text
MIT License
Copyright (c) 2025 Asif
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
[...full MIT text...]
__pycache__/
*.py[cod]
.venv/
build/
dist/
*.egg-info/
.vscode/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 smart_preprocess_asif-0.1.0-py3-none-any.whl.
File metadata
- Download URL: smart_preprocess_asif-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fff02f1d5a5b3e1c04b8cb31f71516543902ad08807033d6b77a4473787252c
|
|
| MD5 |
12d7b7734b7ccd6be3cf1d1100b1e8cf
|
|
| BLAKE2b-256 |
5987401229e954b72641e3cc67f5b2e8948b0b9edc4c224b81f89b14d43d1587
|