Skip to content

Instantly share code, notes, and snippets.

@alex-hse-repository
Last active June 1, 2022 06:13
Show Gist options
  • Save alex-hse-repository/b769d0e6d33de42cdb9aea541e8f0590 to your computer and use it in GitHub Desktop.
Save alex-hse-repository/b769d0e6d33de42cdb9aea541e8f0590 to your computer and use it in GitHub Desktop.
from etna.analysis import plot_holidays
holidays_df = pd.DataFrame({
'holiday': 'season',
'ds': pd.to_datetime(["2016-01-23", "2017-01-29"]),
'lower_window': -21,
'upper_window': 90+14,
})
plot_holidays(ts, holidays=holidays_df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment