Protocols#

Protocol Types#

CalendricData(*[, country, subdiv, ...])

Manage calendar-driven seasonal cycles and public-holiday effects for a Gloria forecaster.

Protocol Regressors#

Holiday(*, name, prior_scale, profile[, ...])

A regressor to model events coinciding with public holidays.

Helper Functions#

get_holidays(country[, subdiv, timestamps])

Return a mapping of holiday dates to names for a specified country (and, optionally, one of its subdivisions).

make_holiday_dataframe(timestamps, country)

Build a tidy DataFrame of holidays that fall within the span covered by input timestamps.