eltonlaw / impyute

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

Data type checks #89

Open e3vela opened 5 years ago

e3vela commented 5 years ago

Hi!

On this check, it makes sure the input data is of type np.float, but it fails when input data is np.float32 or np.float64.

https://github.com/eltonlaw/impyute/blob/aadda08d8b221d7b6e2f387051bc2a3903e1b0b8/impyute/util/checks.py#L52

Would you rather cast to np.float32 by default?