top of page

Imputation of Numeric Variable Using Python Machine Learning | Data Imputation

In previous blog I post the how to impute the categorical variable. In this blog we will learn how we can impute numeric variable using python in machine learning and data science related projects.

Here simple python script that easily impute your numeric variable.

The python file imputes one numerical variable.

You can modify at three places in this file to fit your use.

  1. Original file

  2. Variable index for the categorical variable. (Variable index=1 is the second column, since python counts starting 0)

  3. Result file

Before Imputation

After Imputation

You can contact us or share your requirement details at:

Here you get all data analysis and data cleaning related help with an affordable price. We are group of 20+ highly qualified and experienced experts.


bottom of page