add_country_holidays: Add in built-in holidays for the specified country.

Description Usage Arguments Details Value

Description

These holidays will be included in addition to any specified on model initialization.

Usage

1
add_country_holidays(m, country_name)

Arguments

m

Prophet object.

country_name

Name of the country, like 'UnitedStates' or 'US'

Details

Holidays will be calculated for arbitrary date ranges in the history and future. See the online documentation for the list of countries with built-in holidays.

Built-in country holidays can only be set for a single country.

Value

The prophet model with the holidays country set.


prophet documentation built on March 30, 2021, 5:05 p.m.