Skip to main content

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


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

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

smart_preprocess_asif-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for smart_preprocess_asif-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fff02f1d5a5b3e1c04b8cb31f71516543902ad08807033d6b77a4473787252c
MD5 12d7b7734b7ccd6be3cf1d1100b1e8cf
BLAKE2b-256 5987401229e954b72641e3cc67f5b2e8948b0b9edc4c224b81f89b14d43d1587

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