code: def get_delta(time_frame: str) -> float:
      """Gets the time delta for a given time frame.
  
      Parameters
      ----------
      time_frame : str
          The time frame for generating.
          (e.g. 1h, 1min, 1w, 1d)
  
      Returns
      -------
      float
          The time delta for the given time frame.
      """
      if "MIN" in time_frame.upper():
          return 1 / (252 * 24 * (60 / int(time_frame.split("MIN")[0])))
      elif "H" in time_frame.upper():
          return 1 / (252 * (24 / int(time_frame.split("H")[0])))
      elif "D" in time_frame.upper():
          return 1 / 252
      elif "M" in time_frame.upper():
          return 1 / 12
  
file_path: tensortrade/tensortrade/stochastic/utils/helpers.py
imports: import re
  from typing import Callable
  import numpy
  import pandas
  from stochastic.processes.noise import GaussianNoise
  from tensortrade.stochastic.utils.parameters import ModelParameters, default
label_desc: Use image node_id 2 for calling a global function with example usage: get_delta(time_frame) and returns: unknown, unknown, unknown, unknown