Skip to main content

An easy to use pre-processing utility for machine learning.

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easypreprocessing-1.0.5.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

easypreprocessing-1.0.5-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file easypreprocessing-1.0.5.tar.gz.

File metadata

  • Download URL: easypreprocessing-1.0.5.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for easypreprocessing-1.0.5.tar.gz
Algorithm Hash digest
SHA256 b36820a24745b097b43aa4dcbc602b9f08c60eec823632628b7701a01dd248c8
MD5 534207236d68c6700fc25caee61932e1
BLAKE2b-256 52c505f4b2a3c89460c4f8d13d97d5fbc0e3918e6e89f2b85d9b983cf99a4f3a

See more details on using hashes here.

File details

Details for the file easypreprocessing-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: easypreprocessing-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for easypreprocessing-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ed4f4d8f9545ec7a563edd60abbb888c954cdab25ee10a3a5a6db4331e12ad66
MD5 956228bfd3c87c419c10a867309d59d2
BLAKE2b-256 046166bbd6a38739cf3ec6868d517b7c6b2c28e03294e65328e958eb8a963885

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page