title: Finding median value of multiple NumPy arrays
body: <p>I have a for loop that creates about 50 arrays. The arrays are of length 240. I'm trying to figure out the best possible way of calculating the median values of each elements of the arrays. Essentially, I want to take the first element of each array created in the loop, put them into a list, and find the median. Then do the same for the other 239 elements. Something like this is what I'm thinking of</p>
  <pre><code>a = np.array([1,2,4,56,67,8,8,9]);
  
  b = np.array([-1,-3,5,6,-7,-6,-8,0]);
  
  c = np.array([1,2,3,4,5,6,7,8]);
  
  d = []
  
  d.append(a[0])
  
  d.append(b[0])
  
  d.append(c[0])
  
  d
  Out[62]: [1, -1, 1]
  
  np.median(d)
  Out[65]: 1.0
  </code></pre>