Winsorising
Technical analysisReplacing an extreme value in a series with the most extreme value you are prepared to accept, rather than deleting the observation.
In plain terms
Cap the bad print instead of dropping the bar. The row stays, so every rolling window keeps its length and every date still lines up.