eltonlaw / impyute

Data imputations library to preprocess datasets with missing data

Home Page:http://impyute.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[DDFG] Add OutofBounds error handling

mm-abogdan opened this issue · comments

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

if axis == 0:
data = np.transpose(data)
elif axis == 1:
pass