code: def merge_values(values1, values2):
      """
      Merges two numpy arrays by calculating all possible combinations of rows
      """
      array1 = values_to_array(values1)
      array2 = values_to_array(values2)
  
      if array1.size == 0:
          return array2
      if array2.size == 0:
          return array1
  
      merged_array = []
      for row_array1 in array1:
          for row_array2 in array2:
              merged_row = np.hstack((row_array1, row_array2))
              merged_array.append(merged_row)
      return np.atleast_2d(merged_array)
  
file_path: GPyOpt/GPyOpt/util/general.py
imports: import numpy
  from scipy.special import erfc
  import time
  from ..core.errors import InvalidConfigError
label_desc: Use image node_id 13 for calling a global function with example usage: merge_values(values1, values2) and returns: np, array2, array1