code: def obj_array_ones(shape_list, scale=1.0):
      arr = obj_array(len(shape_list))
      for i, shape in enumerate(shape_list):
          arr[i] = scale * np.ones(shape)
  
      return arr
  
imports: import numpy
  import pandas
  import seaborn
  import matplotlib.pyplot
  import warnings
  import itertools
label_desc: Use image node_id 8 for calling a global function with example usage: obj_array_ones(shape_list, scale) and returns: arr