Date features are an essential part of time series analysis. This document introduces helpful classes (CountryHolidays and SpecialDates) for generating holiday flags, custom date markers, and adding them to TimeGPT.
Overview
CountryHolidays
Easily attach holiday flags for multiple countries based on a list of countries.
SpecialDates
Add flags for custom events or significant dates you define.
CountryHolidays
Given a list of countries, returns a dataframe with holidays for each country.
source
SpecialDates
Given a dictionary of categories and dates, returns a dataframe with the special dates.