Skip to content
ml-recall

#rolling-statistics

1 question from Time Series

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Single choice

mediumAI-checkedTime Series

y is a pandas Series of daily sales indexed by date. You want a feature for day tt equal to the mean of the 7 days before tt, with no lookahead leakage. Which expression computes it?

Choose one option