title: How to get correlation of two vectors in python
body: <p>In matlab I use</p>
  
  <pre><code>a=[1,4,6]
  b=[1,2,3]
  corr(a,b)
  </code></pre>
  
  <p>which returns .9934. I've tried <code>numpy.correlate</code> but it returns something completely different. What is the simplest way to get the correlation of two vectors?</p>