code: def listify(self, agg_result) -> List[DataFrame]:
      items = list(agg_result.items())
      x_edges = items[0][1].bin_edges
      num_edges = len(x_edges)
  
      result = []
  
      for grouped_struct, hist in items:
          data_rows = []
          y_values = hist.bin_freq
          for i, x in enumerate(x_edges[: num_edges - 1]):
              data_rows.append({"x": x, "y": y_values[i]})
          df = pd.DataFrame.from_records(data_rows)
          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 4 for calling the StatBin obj's underlying member method code with example usage: obj.listify(agg_result) and returns: result