title: Python equivalent for R's 'zoo' package
body: <p>Are there Python or perhaps <code>pandas</code> equivalents to R's <code>zoo</code> package?</p>
  
  <p>In particular, I'm looking for equivalents to:</p>
  
  <pre><code>dataLag2 = lag(zoo(train$data), -2, na.pad=TRUE)
  train$dataLag2 = coredata(dataLag2)
  </code></pre>
  
  <p>Are there equivalents on Python that would produce the same results (the <a href="http://pandas.pydata.org/pandas-docs/stable/comparison_with_r.html?highlight=zoo#zoo" rel="nofollow">empty entry for <code>zoo</code> functionality in the Pandas documentation</a> is a bit ominous).</p>