title: split an table(or list) based on column python
body: <p>I have a array</p>
  
  <pre><code>arr = [['a', 'b', 'a'], [1, 2, 3]
  </code></pre>
  
  <p>I need this to be spliited based on the first array values i.e based on 'a' or 'b'. So Expected output is</p>
  
  <pre><code>arr_out_a = [1, 3]
  arr_out_b = [2]
  </code></pre>
  
  <p>How do I do it?</p>
  
  <p>Please help me correct the question,if the way I'm using words like list and array might create confusion</p>