Tutorials¶
Hands-on walkthroughs for common timeseries-qc workflows. Each tutorial uses the real v0.5.0 API (tsqc.check, YAML rules, and QCResult methods).
TL;DR
Start with the Solar Farm CSV walkthrough if you are new. Use YAML Rules From Scratch when you need per-tag configuration, OSIsoft PI Export for historian quality columns, and CI Gate to fail builds on bad data.
Load a multi-tag solar CSV, run tsqc.check with assume_tz, then inspect summary(), plot(), and export_report().
Author default_rules and tag_rules covering null, flatline, delta, range, and outlier — plus optional quality_map.
Wire a historian export with external_quality_col and quality_mode (combined / exclusive).
Fail a GitHub Actions job when result.summary() pct_bad exceeds a threshold.
Prerequisites¶
- Python 3.10+
pip install timeseries-qc(v0.5.0)- A CSV or DataFrame with
timestamp,value, and optionallytag_name
Suggested order¶
- Solar Farm CSV — end-to-end happy path
- YAML Rules From Scratch — configuration depth
- OSIsoft PI Export — external quality columns
- CI Gate — automation
Related pages¶
- Quickstart — five-line intro
- YAML Configuration — rule schema reference
- SCADA Integration — historian pipeline patterns
- Why timeseries-qc? — positioning vs alternatives