Skip to main content

A python package for simple data imputation

Project description

What does it do?

Have you ever had a time when your missing data was holding you back? Well then this package is for you!

Our python package for simple data imputation will allow you to quickly and seamlessly impute any missing data (be numeric, categorical, date/time or boolean values) using any large datasets.

All you have to do is follow these simple 4 steps:

  1. Import the package and the data you wish you impute
  2. Select the function and method for imputation (this will depend on the data type - read the usage section below for more details)
  3. Hit run
  4. Save your newly imputed dataset

Our package will help simplify all your imputation needs so your data is ready when you need it!

Contributors & Maintainers

Installation

$ pip install simpute_py

Usage

We have four main functions dealing with each data type:

  • Num_imputer: This function fills in the empty values of a numeric column with values derived from your selected imputation method. Your options for method include knn (autogenerated values based on KNN), mean, median and mode.
  • Cat_imputer: This function fills in the empty values of a categorical column with values derived based on most frequent (mode) category.
  • Bol_imputer: This function fills in the empty values of a boolean column with values derived using most frequent (mode) boolean value.
  • Date_imputer: This function fills in empty values of a date column with median point of the range of dates in that column.

Place in the Python Ecosystem

Currently, there are many other ways you can impute a dataset, using various functions build within Python, but this packages it neatly into one place and simplifies the process. We do have other packages you can use such as AutoImpute and MIDASpy. However our package aims to provide functionality not provided in either package and for more general audience use.

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

simpute_py was created by Lisa Sequeira, Renee Kwon, Fujie Sun, and Ken Wang. It is licensed under the terms of the MIT license.

Credits

simpute_py was created with cookiecutter and the py-pkgs-cookiecutter template.

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

simpute_py-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

simpute_py-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file simpute_py-0.1.0.tar.gz.

File metadata

  • Download URL: simpute_py-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for simpute_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 af3365d90ac7627ddf5b24473aa7575528a01de57a02b124b2db01cf2c4fddd1
MD5 ab1eddbf962fe2c96e23d52a7479b1db
BLAKE2b-256 a3d6ae34413981bc8ead34280793c5441a1c43b3e55644af3856d65806faa08d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simpute_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for simpute_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d391ceb416dbfee783eaf7a3238453fddd739c90fe474b4ad004944deb76f262
MD5 f20ce1be700d744ab73ff92543ea0471
BLAKE2b-256 6c34aeb992b0fd653f5b83d01e5ca84bc284fad5a18f446f8ce3efefe579f0cd

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