Retrieve dropped column names from `sklearn.impute.SimpleImputer`
The SimpleImputer
class takes pandas dataframes and returns unlabeled numpy arrays. Which means that the SimpleImputer
drops some features at will, but has no way to communicate which features have been dropped to the caller
I've been trying to come up with a workaround, but they all are extremely hackish and unreliable. Is there something I'm missing?
Topic data-imputation scikit-learn
Category Data Science