Core Module Documentation#

neuralprophet.hdays_utils.get_country_holidays(country: str, years: Optional[Union[int, Iterable[int]]] = None)#

Helper function to get holidays for a country.

Parameters
  • country (str) – Country name to retrieve country specific holidays

  • years (int, list) – Year or list of years to retrieve holidays for

Returns

All possible holiday dates and names of given country

Return type

set