Create a pandas dataframe and then impute missing values .
data = { 'test' : [1,2,3,4,10,15]
'missing' : [1,2,4,None,5,7] }
replace the missing values in the missing table column with mean
values using mean imputation
============
i am trying like this but i am not getting correct output and
getting confused please explain with proper output and
explanation
import pandas as pd
pd.DataFrame(data)
temp = pd.DataFrame(data).fillna(np.mean())
temp ['missing'] . fillna(temp['missing'].mean())
================
i am too much confused please write proper program...