# Whether to replace NaN values in result column

I have a training dataset where we have to predict "Result" based on features "A", "B", "C" and "D" using machine learning. For a few rows, the "Result" is empty (7/19612).

While for the other features I have filled the NaN values with their mean, I don't understand whether or not to do so with the result column. Will it better to drop the rows entirely instead?

• Since that's just 7/19612, I suggest you just to delete these rows from your train dataset, because the impact would be very little, not more than if you replace it by the majority class... To me, don't waste time on that, just remove Aug 17 '20 at 9:38

There is no correct way as dealing with nan values it depends on the dataset.But i would suggest rather than doing single imputation you could do multiple imputation using IterativeImputer in sklearn.