From various resources, I came to know that Imputation using Expectation Maximization method is better than Mean Imputation for imputing missing data. But no source have explained how to implement it in python.
I looked into scikit-learn, fancyimpute packages, but they have not mentioned anything about Expectation Maximization method.
It would be very helpful, if you can provide link to documentation which explain implementation with example, or provide code to implement Expectation Maximization method for missing data.
em function will return dataframe type