EvolutionCourse Hub
← Dictionary
Imputation

Also: SimpleImputer, fillna

Data quality and preparation

Filling missing values with a learned substitute: the median or mean, the most common value, a value from similar rows, or a rule from domain knowledge.

ExampleSimpleImputer(strategy='median'); but tenure 0 means TotalCharges 0, where a median would be wrong.