def _GetValueAndIndexForMin(data_array):
  """Helper function to get both min and argmin of a given array.

  Args:
    data_array: (list) array with the values.

  Returns:
    (tuple) containing min(data_array) and argmin(data_array).
  """
  value_min = min(data_array)
  ind_min = data_array.index(value_min)

  return (value_min, ind_min)