1. Learn
  2. /
  3. Courses
  4. /
  5. Anomaly Detection in Python

Exercise

MAD on time series

Initially, you can approach time series anomaly detection just like a regular dataset. For example, you can take a univariate approach and fit MAD to one of the time series columns.

pandas and the MAD estimator are already loaded for you.

Instructions 1/3

undefined XP
    1
    2
    3
  • Load the Apple stocks dataset with the Date column as a DatetimeIndex. The filename is aapl.csv.