title: how to make list of all neighbors in Python?
body: <p>I have a list as below.
  It consists of 2 columns which are 'HOME' and 'AWAY'.</p>
  
  <pre><code>Home     AWAY
  Rangers  Twins
  Yankees  RedSox
  RedSox   Yankees
  Cups     Yankees
  </code></pre>
  
  <p>I would like to make all neighborhood of each team regardless of home or away, such like below.</p>
  
  <pre><code>TEAM     NEIGHBOR
  Rangers  [Twins]
  Yankees  [RedSox, Cups]
  RedSox   [Yankees]
  Cups     [Yankees]
  </code></pre>
  
  <p>Though I considered use networks modules, I could not solve that problems.
  Thanks in advance.</p>