title: Python, itertools.combinations results to different rows in pandas
body: <p>Lets say I have a list:</p>
  
  <pre><code>list = [1, 2, 3, 4, 5]
  </code></pre>
  
  <p>I want to get pairwise combinations which are:</p>
  
  <pre><code>[1,2] [1,3] [1,4] [1,5] [2,3] [2,4] [2,5] [3,4] [3,5] [4,5]
  </code></pre>
  
  <p>Then I want to save the output to rows in pandas. Resulting output should look like this:</p>
  
  <pre><code>     Combinations
  0  [[1,2],[1,3],[1,4],[1,5]]
  1  [[2,3],[2,4],[2,5]]
  2  [[3,4], [3,5]]
  3  [[4,5]]
  </code></pre>
  
  <p>I have to do it for a list which consists of 1000 elements. Any help will be highly appreciated</p>