code: def easter_day(gyear):
      r"""Get Easter Day for a given year.
  
      Parameters
      ----------
      gyear : int
          Gregorian year.
  
      Returns
      -------
      ed : int
          Easter Day in RDate format.
      """
  
      century = math.floor(gyear / 100) + 1
      epacts = (
          14
          + 11 * (gyear % 19)
          - math.floor(3 * century / 4)
          + math.floor((5 + 8 * century) / 25)
      ) % 30
      if epacts == 0 or (epacts == 1 and 10 < (gyear % 19)):
          epacta = epacts + 1
      else:
          epacta = epacts
      rdate = gdate_to_rdate(gyear, 4, 19) - epacta
      ed = kday_after(rdate, 0)
      return ed
  
imports: import calendar
  import logging
  import math
  import pandas
label_desc: Use image node_id 34 for calling a global function with example usage: easter_day(gyear) and returns: ed