Image for post
Image for post

When working on data science projects, it’s very likely that you’ll be encountering missing data in your columns. It’s not ideal to disregard or take out all the rows containing missing data for any project. Other columns for the same row where the data is missing can be critical for the data preparation state, so it’ll be wiser to infer or find a way to fill in the missing values in our dataset for a better outcome.

There are many options with which you can fill in the ‘null’ ‘nan’ or ‘na’ in the dataset. SciKitLearn offers one simple solution with SimpleImputer(formerly Imputer, which was deprecated starting from version 0.20 …



Programming, Data Science, Artificial Intelligence, Web Development

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store