Choosing a pattern
"random"— points drop independently (transient dropouts)."block"— contiguous runs go missing (outages); setmissing_block_size."seasonal"— gaps recur on a cycle (e.g. weekends); setmissing_seasonal_period.missing_rateis the target fraction missing. Missing values appear asNaNiny; the plots below mark them with red ticks along the bottom.
Random gaps
Independent dropouts scattered through the series — the simplest pattern, and a reasonable default for unreliable feeds.
Block gaps (outages)
Real outages remove consecutive observations.missing_block_size
sets the typical run length, so the same overall rate now arrives in a
few long stretches instead of many isolated points.

Seasonal gaps (recurring holidays)
Withmissing_pattern="seasonal" gaps recur on a fixed cycle — the
classic weekend-reporting gap on daily data
(missing_seasonal_period=7).

Rate and multiple series
missing_rate scales the amount missing, and each series in a panel
gets its own independent gaps.
Related capabilities
- Multivariate missingness — coordinated gaps across channels (e.g. a whole sensor dropping out).
- Anomalies and changepoints compose with missing data for realistic test series.

