code: def norm_freq_str(offset: pd.DateOffset) -> str:
      """Obtain frequency string from a pandas.DateOffset object.
  
      "Non-standard" frequencies are converted to their "standard" counterparts. For example, MS (month start) is mapped
      to M (month) since both correspond to the same seasonality, lags and time features.
      """
      base_freq = offset.name.split("-")[0]
      return TO_MAJOR_FREQ.get(base_freq, base_freq)
  
label_desc: Use image node_id 1 for calling a global function with example usage: norm_freq_str(offset) and returns: TO_MAJOR_FREQ