Skip to content Skip to sidebar Skip to footer

Scikit-learn Imputer Reducing Dimensions

I have a dataframe with 332 columns. I want to impute values to be able to use scikit-learn's decision tree classifier. My problem is that the column of the resulting data from imp

Solution 1:

According to the documentation of sklearn.preprocessing.Imputer:

When axis=0, columns which only contained missing values at fit are discarded upon transform.

So, this is removing all-missing-value columns.

Post a Comment for "Scikit-learn Imputer Reducing Dimensions"