code: def get_group_by_type(data, group_by_column):
      grouped = data.group_by(by=[group_by_column]).mean("int")
      grouped_frame = grouped.get_frame()
      return grouped_frame[group_by_column].types
  
imports: import sys
  import h2o
  from tests import pyunit_utils
label_desc: Use image node_id 2 for calling a global function with example usage: get_group_by_type(data, group_by_column) and returns: grouped_frame