Data PreProcessing
EasyPreProcessing is a Python module that comprises of data pre-processing helper functions mainly for the purpose of data science and machine learning.
Many of the common machine learning activities that are performed during the Feature Engineering can be performed in a single line of code using this library.
What functionalities are currently available?
- Handling missing values
- Encoding categorical variables
- Handling DateTime features
- Handling empty/blank columns
- Display correlation metrics
- Standardize dataset
- Over sampling
- Clustering (KMeans)
Installing
Just a simple
pip install easypreprocessing
For details regarding all the functionality available:
from easypreprocessing import EasyPreProcessing
prep = EasyPreProcessing('filename.csv')
prep.info()
Sample Templete
Below you can see a sample code of preprocessing using this library.
from easypreprocessing import EasyPreProcessing
prep = EasyPreProcessing('filename_here.csv')
prep.output = 'output_variable_here'
prep.remove_blank() #Remove blank or empty columns
prep.missing_values #Display missing values
prep.categorical.impute() #Fill missing values for categorical variables
prep.numerical.impute() #Fill missing values for numerical variables
prep.categorical.encode() #Convert categorical features to numerical
prep.standardize() #Standardize dataset
X_train, X_test, y_train, y_test = prep.split()
Metadata
Release files for easypreprocessing 1.0.7
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 |
|---|---|---|---|---|
| easypreprocessing-1.0.7.tar.gz | 5.8 kB | Without provenance | Details for easypreprocessing-1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easypreprocessing-1.0.7-py3-none-any.whl | Python 3 | none | any | Details for easypreprocessing-1.0.7-py3-none-any.whl |
Total release size: 15.5 kB
Release files / easypreprocessing-1.0.7.tar.gz
| Download URL | easypreprocessing-1.0.7.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c692d586d4c7dbb341f0e5d4976eae0074e7287b3193b6247c7e736780553407
|
|
BLAKE2b-256 checksum How to use checksums |
152602fc47ec0b7d0be03bea570773bf2680acd89032fc6511766f8ee00ae21b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.13
|
Release files / easypreprocessing-1.0.7-py3-none-any.whl
| Download URL | easypreprocessing-1.0.7-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe81857dda4206e5071ccf74aea94ecd313d9babadb333e26cb0fc9df0af7972
|
|
BLAKE2b-256 checksum How to use checksums |
1040ee7d75a2f8e243a2f1ccc7c743e26d02d45d9646e4645f61e66306c4acd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.13
|
Security for easypreprocessing 1.0.7
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.