title: How can I multiply each column with the other columns of the Pandas DataFrame?
body: <p>Given a pandas dataframe I would like to multiply each column with the other columns one by one and return each new column as a new column to that dataframe. For example</p>
  
  <pre><code>A B C
  1 2 3
  2 4 4
  1 2 5
  </code></pre>
  
  <p>then</p>
  
  <pre><code>A B C A*B   A*C     B*C
  1 2 2  2     3       6
  2 4 8  8     8       16
  1 2 2  2     5       10
  </code></pre>