code: def get_freq_name(period):
      period = period.upper()
      periods = {
          "B": "business day",
          "C": "custom business day",
          "D": "daily",
          "W": "weekly",
          "M": "monthly",
          "BM": "business month end",
          "CBM": "custom business month end",
          "MS": "month start",
          "BMS": "business month start",
          "CBMS": "custom business month start",
          "Q": "quarterly",
          "BQ": "business quarter end",
          "QS": "quarter start",
          "BQS": "business quarter start",
          "Y": "yearly",
          "A": "yearly",
          "BA": "business year end",
          "AS": "year start",
          "BAS": "business year start",
          "H": "hourly",
          "T": "minutely",
          "S": "secondly",
          "L": "milliseonds",
          "U": "microseconds",
      }
  
      if period in periods:
          return periods[period]
      else:
          return None
  
file_path: ffn/ffn/utils.py
imports: import re
  import decorator
  import numpy
  import pandas
label_desc: Use image node_id 9 for calling a global function with example usage: get_freq_name(period) and returns: periods, None