Sentinel Value

A placeholder such as -1 or 999 that stands for missing data but is not NaN, so it must be found and replaced by hand.

When to use

A zero count from .isna().sum() does not prove the data is clean, because that only finds declared gaps. Pair it with describe() and look for impossible minimums or maximums (for example an age of 999). This is a PS 02 point: see PS 02.

See DS Lec 2.

Appears in

No references yet.