holiday_features_adder#
Transform that adds holiday features to time series data.
This module provides functionality to compute holiday features based on the datetime index of time series datasets. It uses the holidays library to identify public holidays for a specified country and adds binary features indicating whether a date is a holiday or a specific holiday.
Functions#
|
Get list of original holiday names for the country. |
|
Get holidays for the dataset's date range as a cleaned DataFrame. |
|
Convert holiday name to a valid Python identifier for feature names. |
Classes#
|
Transform that adds holiday features to time series data. |