code: def weld_str_upper(array):
      
      obj_id, weld_obj = create_weld_object(array)
  
      weld_template = """map(
      {array},
      |e: vec[i8]|
          result(
              for(e,
                  appender[i8],
                  |c: appender[i8], j: i64, f: i8|
                      if(f > 96c && f < 123c,
                          merge(c, f - 32c),
                          merge(c, f))
              )
          )
  )"""
  
      weld_obj.weld_code = weld_template.format(array=obj_id)
  
      return weld_obj
docs: Convert values to uppercase.
  
      Parameters
      ----------
      array : numpy.ndarray or WeldObject
          Input data.
  
      Returns
      -------
      WeldObject
          Representation of this computation.