code: def get_range_info(array, component):
      
      r = array.GetRange(component)
      comp_range = {}
      comp_range['min'] = r[0]
      comp_range['max'] = r[1]
      comp_range['component'] = array.GetComponentName(component)
      return comp_range
docs: Get the data range of the array's component