Missing-Value-Treatment-simulation-in-Python

This time I would like to simulate missing value treatment of Greenhouse gas emissions, coal consumption and fossil fuel consumption.

  1. Extracting the data into panda data frames

missingvaluetreatment.xls

textimage

  1. See the values of each variables, as we can see that Greenhouse gas emissions only has 43 values compared to other variable's values.

textimage

  1. Replace the missing values with mean

text image

  1. Now all variables have the same amount of values

text image