← Back to examples
⚡ Energy Anomaly Monitoring
Scenario: A facilities analytics team monitors smart-meter readings across several buildings, normalizes consumption by size and weather, and turns unusual spikes into maintenance tickets.
Skills you'll use: merge, derived intensity metrics, rolling baselines, filters, nlargestDataFrame, groupby().agg(), and pivot-table alert summaries.
1 · Enrich smart-meter readings
Join telemetry with building metadata and normalize energy use by floor area and occupancy.
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent
2 · Flag spikes against a rolling baseline
Use recent same-building history as a simple expected-consumption baseline.
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent
3 · Convert alerts into maintenance economics
Join alert records to tariff and building context, then estimate savings opportunity.
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent