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.0.4.tar.gz (6.1 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.0.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simpute_py-0.0.4.tar.gz
  • Upload date:
  • Size: 6.1 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.0.4.tar.gz
Algorithm Hash digest
SHA256 1f38680379c639ed23c79e99390589c3476d12980c721fc73d41df774d36e179
MD5 58bcf70e88c6cbd143e8537e5e0bac34
BLAKE2b-256 7a3f77f6ce3c7b04aed00e89f3a0780827b36f962ec50b43bd3f3a466ea9e5e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simpute_py-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1685cbf623b1cd81ed0810e417eb4cc1ad9c4b342aa65466846d3e5dddf1952f
MD5 8ec68d6accc513218cfe0342361cb0d1
BLAKE2b-256 36a6fcd5fad0d2f0155b420019ef24e16a5e13681d8c6849d7e7a8b38b087b9b

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