Skip to main content

A simple data preprocessing library built on top of sklearn.preprocessing

Project description

A simple data preprocessing library built on top of sklearn.preprocessing


from predpytest.processing import PreDPy
obj = PreDPy()

LabelEnc and OneHotEnc()

returns a dataframe which is label encoded/one-hot encoded for a particular column


    obj.LabelEnc(dataframe, columns)

    obj.OneHotEnc(dataframe, columns)


replaces null values by mean/median/most_frequent


    obj.transform_missing(dataframe, strategy)

The strategies are: mean, median or most_frequent


It transforms the data in such a manner that it has mean of 0 and standard deviation of 1



Project details

Download files

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

Files for predpytest, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size predpytest-0.0.5-py3-none-any.whl (2.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size predpytest-0.0.5.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page