# Values That Can't Be Right: Sentinels and Outliers

A stand-in such as -999 for "no reading" and a sensor that reads 152 °F in the sun both throw off an average, so replace turns stand-ins into NaN, describe and between find the values that can't be true, and a suspect column flags them before they're blanked, while real but unusual readings stay.

![Cheat sheet: Values That Can't Be Right: Sentinels and Outliers](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/1141f7aa8dda412b8dbe11008482786b.webp)

- Category: Data Analysis
- Level: Apprentice
- Tags: between(), NaN (python), Outlier, python, Sentinel Value
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/pandas-sentinels-and-outliers-cheat-sheet
