code: def listify(self, agg_result) -> List[DataFrame]:
      result = []
      for grouped_struct, collected in agg_result.items():
          columns = list(collected[0].keys())
          data_dict = {}
  
          for column in columns:
              col_data = [row[column] for row in collected]
              data_dict[column] = pd.Series(col_data)
  
          df = pd.DataFrame(data_dict)
          df.attrs.update(**grouped_struct)
          result.append(df)
      return result
  
imports: from typing import List
  import abc
  from pandas import DataFrame
  import pandas
  import hail
  from hail.utils.java import warning
  from .utils import should_use_scale_for_grouping
label_desc: Use image node_id 2 for calling the StatIdentity obj's underlying member method code with example usage: obj.listify(agg_result) and returns: result