First understand why it is missing (random, depends on other features, or depends on the value itself) and how much is missing.
Options: drop rows or columns if little is lost; impute with mean, median or mode; model-based imputation (KNN or iterative); or use models that handle missing values natively (XGBoost, LightGBM).
Add a missing-indicator feature when missingness itself carries signal.
Fit imputers on training data only to avoid leakage.
Loading…