title: How do I calculate a spearman rank correlation in pandas?
body: <p>I have a dataframe that looks like this: Each value represents a value one of 5 distances (1000m, 800m, 600m, 400m, 200m, 0). </p>
  
  <pre><code>'key1': array([  1.21,   0.99,   6.66,
            5.22,   3.33]), 'key2': array([  2.21,   2.99,   5.66,
            6.22,   2.33]), 'key3': array([  4.21,   1.59,   6.66,
            9.12,   0.23])......
  </code></pre>
  
  <p>I want to calculate a Spearman rank correlation between the values and the distances for each of the keys.</p>
  
  <p>I have a lot of 'keys' I would like to do this somehow in pandas. And then plot a graph of spearman rank and distance averaging across all keys. </p>