title: Correlation of Two Variables in a Time Series in Python?
body: <p>If I have two different data sets that are in a time series, is there a simple way to find the correlation between the two sets in python?</p>
  
  <p>For example with:</p>
  
  <pre><code># [ (dateTimeObject, y, z) ... ]
  x = [ (8:00am, 12, 8), (8:10am, 15, 10) .... ]
  </code></pre>
  
  <p>How might I get the correlation of y and z in Python?</p>