title: Subset pandas dataframe by particular months of dates in column?
body: <p>How do I subset a pandas dataframe to obtain rows with data from particular months?</p>
  
  <p>I have a date column in the  2010-01-01 format.</p>
  
  <p>If it was indexed, I would use</p>
  
  <pre><code>df.ix[date1:date2]
  </code></pre>
  
  <p>But what do I do if the data is in a column?</p>