code: def get_max(array):
      
      largest = -np.inf
      for i in array:
          try:
              if i > largest:
                  largest = i
          except:
              pass
      if np.isinf(largest):
          raise ValueError("there's no numeric value in array!")
      else:
          return largest
docs: Get maximum value of an array. Automatically ignore invalid data.
  
      **中文文档**
  
      获得最大值。