code: def __init__(self, country="US"):
      try:
          country, subdivision = self.convert_to_subdivision(country)
          self.holidays = holidays.country_holidays(
              country=country,
              subdiv=subdivision,
          )
      except NotImplementedError:
          available_countries = "https://github.com/dr-prodigy/python-holidays#available-countries"
          error = (
              "must be one of the available countries:\n%s"
              % available_countries
          )
          raise ValueError(error)
  
      self.federal_holidays = getattr(holidays, country)(
          years=range(1950, 2075)
      )
  
imports: from typing import Optional, Tuple
  import holidays
  import pandas
label_desc: Use image node_id 1 to create a new HolidayUtil object  with example: obj = HolidayUtil(country)