code: def read_data_list(ofile):
      """Read each line of the iterable and put it in a list."""
      data = [next(ofile)]
      if data[0].strip()[0] == "{":
          raise ValueError(
              "This looks like a sparse ARFF: not supported yet"
          )
      data.extend([i for i in ofile])
      return data
  
imports: from __future__ import division, print_function, absolute_import
  import re
  import itertools
  import datetime
  from functools import partial
  import numpy
  from scipy._lib.six import next
label_desc: Use image node_id 3 for calling a global function with example usage: read_data_list(ofile) and returns: data