code: def getTypes(frame):
      colTypes = []
      for index in range(frame.ncol):
          colTypes.append(str(frame.type(index)))
      return colTypes
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: getTypes(frame) and returns: colTypes