title: '>=' not supported between instances of 'tuple' and 'datetime.datetime'
body: <p>I am using Python3 and have the following code (partial code).</p>
  
  <pre><code>tsret = pd.DataFrame(index=tslag.index)  
  start_date=datetime.datetime(2011,1,10)
  
  tsret = tsret[tsret.index &gt;= start_date]
  </code></pre>
  
  <h1>tslag in web data from yahoo/google</h1>
  
  <p>I have imported pandas and date frame. I am getting the following error</p>
  
  <blockquote>
    <p>TypeError: '>=' not supported between instances of 'tuple' and 'datetime.datetime'.</p>
  </blockquote>
  
  <p>I understand that <code>tsret.index</code> is a tuple whereas <code>start_date</code> is of type <code>datetime.datetime</code>, hence I am not able to compare these two. How do I overcome the error? Please help.</p>