title: Why I am getting repetitions after calculation in python?
body: <p>I am executing some simple statements, and I am expecting a single array as my result. But, I am getting 6 rows as a result.</p>
  <pre><code>from itertools import combinations
  import numpy as np
  
  res = [
      np.array([[12.99632095], [29.60571445], [-1.85595153],
                [68.78926787], [ 2.75185088], [ 2.75204384]]),
      np.array([[ 15.66458062], [ 22.16467595], [ -3.75927882],
                [ -2.65954113], [  2.30128711], [197.45459974]])
  ]
  
  pairs = combinations(res, 2)
  for pair in pairs:
      r = np.concatenate(pair, axis=1)
      r1 = pair[0]
      r2 = pair[1]
      sign = np.sign(r1 * r2)
      result = np.multiply(
          sign,
          np.min(np.abs(r), axis=1) / np.max(np.abs(r), axis=1)
      )
  </code></pre>
  <p>The value of <code>r</code> is like this</p>
  <pre><code>[[ 12.99632095  15.66458062]
   [ 29.60571445  22.16467595]
   [ -1.85595153  -3.75927882]
   [ 68.78926787  -2.65954113]
   [  2.75185088   2.30128711]
   [  2.75204384 197.45459974]]
  </code></pre>
  <p>The <code>result</code> I am getting is like this</p>
  <pre><code>[[ 0.82966287  0.74866209  0.49369882  0.03866215  0.83626883  0.0139376 ]
   [ 0.82966287  0.74866209  0.49369882  0.03866215  0.83626883  0.0139376 ]
   [ 0.82966287  0.74866209  0.49369882  0.03866215  0.83626883  0.0139376 ]
   [-0.82966287 -0.74866209 -0.49369882 -0.03866215 -0.83626883 -0.0139376 ]
   [ 0.82966287  0.74866209  0.49369882  0.03866215  0.83626883  0.0139376 ]
   [ 0.82966287  0.74866209  0.49369882  0.03866215  0.83626883  0.0139376 ]]
  </code></pre>
  <p>My expected <code>result</code> is something like only one row of the existing result.</p>
  <pre><code>[[ 0.82966287  0.74866209  0.49369882  -0.03866215  0.83626883  0.0139376 ]]
  </code></pre>
  <p>Why am I getting repetitions and <code>-</code> result in the 4th row of the existing result output?</p>