code: def parse(df: pd.DataFrame):
      time = np.zeros((len(df)), dtype=int)
      date = []
      for i in monit.iterate("Calculate time", len(df)):
          hour = int(df["Time"][i][0:2])
          mint = int(df["Time"][i][3:5])
          time[i] = hour * 60 + mint
          mon = df["Date"][i][0:2]
          day = df["Date"][i][3:5]
          year = df["Date"][i][6:10]
          date.append(f"{year}-{mon}-{day}")
  
      time = time - 570
      df["Minute"] = time
      df["Date"] = date
  
      return df
  
file_path: labml/samples/stocks/build_numpy_cache.py
imports: import urllib.request
  import numpy
  import pandas
  from labml import monit, lab, logger
  from stocks import CandleIdx
label_desc: Use image node_id 1 for calling a global function with example usage: parse(df) and returns: df