code: def get_calendar(name):
      """
      Return an instance of a calendar based on its name.
  
      Parameters
      ----------
      name : str
          Calendar name to return an instance of
      """
      return holiday_calendars[name]()
  
imports: from datetime import datetime, timedelta
  import warnings
  from dateutil.relativedelta import FR, MO, SA, SU, TH, TU, WE
  import numpy
  from pandas.compat import add_metaclass
  from pandas.errors import PerformanceWarning
  from pandas import DateOffset, Series, Timestamp, date_range
  from pandas.tseries.offsets import Day, Easter
label_desc: Use image node_id 12 for calling a global function with example usage: get_calendar(name) and returns: holiday_calendars