Missing values

A missing value is information absent from a dataset (empty cell, NaN, a code like -999). Depending on the case, you remove it, impute it or keep it as information. The choice depends on the cause of the absence and the share of data concerned, and must be documented because it can bias the analysis.

Example

df.dropna(subset=['email'])

Related concepts

The whole glossary