code: def presidents_day(gyear):
      r"""Get President's Day for a given year.
  
      Parameters
      ----------
      gyear : int
          Gregorian year.
  
      Returns
      -------
      prezday : int
          President's Day in RDate format.
      """
      prezday = nth_kday(3, 1, gyear, 2, 1)
      return prezday
  
imports: import calendar
  import logging
  import math
  import pandas
label_desc: Use image node_id 31 for calling a global function with example usage: presidents_day(gyear) and returns: prezday