A command-line utility program for automating the trivial, frequently occurring data preparation tasks: missing value interpolation, outlier removal, and encoding categorical variables.
A command-line utility program for automating the trivial, frequently occurring data preparation tasks: missing value interpolation, outlier removal, and encoding categorical variables.
For a copy of the command-line utility program, simply clone the repository by running:
git clone https://github.com/mdkearns/automated-data-preprocessing
inside of the directory where you would like to store the program.
This program relies on having the NumPy and Pandas Python packages. You can use pip to install the prerequisites for this program as follows:
pip install -r requirements.txt
You can use the program by running
python make_clean.py [options] path/to/your/data
Running
python make_clean.py --help
has the output
usage: make_clean.py [-h] [-a] [-c] [-i] [-m] [-o] [-v] filePath
The make_clean command line utility program automatically performs common data
preprocessing tasks on your uncleaned data sets.
positional arguments:
filePath Path to uncleaned data file
optional arguments:
-h, --help show this help message and exit
-a, --all all
-c, --categorical file contains categorical data
-i, --interpolate interpolate missing values
-m, --missing file is missing field names
-o, --outliers outlier detection and removal
-v, --version show program's version number and exit
We use SemVer for versioning.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
Thanks to PurpleBooth for the gist providing a helpful README.md template. If you like the template and would like to use it for your project, it can be found here.