SpinTheMic
Pro

Interview practice question

Detecting anomalies in daily metrics with Python

Data Analyst · Python and Pandas · Experienced

You need to automatically flag unusual days across 200 business metrics. How would you build this in Python?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Handle seasonality (weekly, holidays).
  • Rolling robust baselines (median, MAD).
  • Decomposition (STL) residual thresholds.
  • Tune thresholds to limit false alarms.
  • Alerts with context; feedback loop.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics