code: def get_rdate(row):
      r"""Extract RDate from a dataframe.
  
      Parameters
      ----------
      row : pandas.DataFrame
          Row of a dataframe containing year, month, and day.
  
      Returns
      -------
      rdate : int
          RDate date format.
      """
      return gdate_to_rdate(row["year"], row["month"], row["day"])
  
imports: import calendar
  import logging
  import math
  import pandas
label_desc: Use image node_id 10 for calling a global function with example usage: get_rdate(row) and returns: gdate_to_rdate