title: In Python how to do Correlation between Multiple Columns more than 2 variables?
body: <p>I have a Pandas Dataframe like so:</p>
  <pre><code>id    cat1    cat2    cat3    num1    num2
  1     0       WN      29      2003    98
  2     1       TX      12      755     76
  3     0       WY      11      845     32
  4     1       IL      19      935     46
  </code></pre>
  <p>I want to find out the correlation between <code>cat1</code> and column <code>cat3</code>, <code>num1</code> and <code>num2</code>
  or between <code>cat1</code> and <code>num1</code> and <code>num2</code>
  or between <code>cat2</code> and <code>cat1, cat3, num1, num2</code></p>
  <p>When I use <code>df.corr()</code> it gives Correlation between all the columns in the dataframe, but I want to see Correlation between just these selective columns detailed above.</p>
  <p>How do I do that in Python pandas?</p>
  <p>A Thousand thanks in advance for your answers.</p>