eltonlaw / impyute

Data imputations library to preprocess datasets with missing data
http://impyute.readthedocs.io/
MIT License
352 stars 49 forks source link

[DDFG] Add OutofBounds error handling #65

Closed mm-abogdan closed 5 years ago

mm-abogdan commented 5 years ago

If axis != 1, functionality of axis = 0 occurs regardless of value (or dtype) passed. Enforce [0, 1] values and throw BadInputError from impyute.util.errors.py with an appropriate explanation.

Be sure to follow the 4 steps outlined in contributing.md

The below labels are for DDFG (Data Days for Good) participant reference: Priority: Low Difficulty: Low

https://github.com/eltonlaw/impyute/blob/2c25368576558374d385293f65c883a91dff5027/impyute/imputation/ts/locf.py#L33-L36