How to handle missing data in python3? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to handle missing data in python3?

Hi! I recently started a course on udemy for machine learning. In the course it has been said to import imputer from sklearn.preprocessing to take care of missing data. But i cant seem to find anything called imputer or simpleimputer(as the error message suggests). Can anybody help me on this one? Thank you!

31st Oct 2018, 10:20 PM
Risav Ghosh
Risav Ghosh - avatar
2 Answers
+ 1
Make sure you have NumPy and SciPy installed. Then make sure that Scikit learn is actually installed. If you do a search for how to install sklearn, telling you how to do this. Simply put: Set NumPy> = 1.6.1 Set SciPy> = 0.9 Install scikit-learn
3rd Nov 2018, 10:31 AM
Александр
0
I already installed numpy scipy and scikit learn. Thanks for your reply but My question was how to install imputer?
3rd Nov 2018, 2:09 PM
Risav Ghosh
Risav Ghosh - avatar