imputation - TypeError when using MICE algorithm from Fancy Impute in Python -


i'm trying fill missing data in dataset , mentor recommended used fancy impute package in python, , mice algorithm. first of all, read mice, it's clear it's poor option if missing data not random (which doubt since seems missing data more in specific countries/years). recommend different algorithm? (my project based on world bank gender statistics data).

the technical problem: ran code on dataframe:

filled = mice().complete(dfvars) 

but got error, , mentor has no idea it's about, , haven't found other forums discussing mice in python @ all:

typeerror: ufunc 'isnan' not supported input types, , inputs not safely coerced supported types according casting rule ''safe'' 


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -