code: def make_country_specific_holidays_df(year_list, country):
      """
      Make dataframe of country specific holidays for given years and countries
      Parameters
      ----------
          year_list : list
              List of years
          country : str, list
              List of country names
      Returns
      -------
          pd.DataFrame
              Containing country specific holidays df with columns 'ds' and 'holiday'
      """
      # iterate over countries and get holidays for each country
      # convert to list if not already
      if isinstance(country, str):
          country = [country]
      country_specific_holidays = {}
      for single_country in country:
          single_country_specific_holidays = get_country_holidays(
              single_country, year_list
          )
          # only add holiday if it is not already in the dict
          country_specific_holidays.update(
              single_country_specific_holidays
          )
      country_specific_holidays_dict = defaultdict(list)
      for date, holiday in country_specific_holidays.items():
          country_specific_holidays_dict[holiday].append(
              pd.to_datetime(date)
          )
      return country_specific_holidays_dict
  
imports: import logging
  from collections import OrderedDict, defaultdict
  from datetime import datetime
  from typing import Optional
  import numpy
  import pandas
  import torch
  from torch.utils.data.dataset import Dataset
  from neuralprophet import configure, utils
  from neuralprophet.df_utils import get_max_num_lags
  from neuralprophet.hdays_utils import get_country_holidays
label_desc: Use image node_id 4 for calling a global function with example usage: make_country_specific_holidays_df(year_list, country) and returns: country_specific_holidays_dict