title: How to filter the date column in pandas?
body: <p>I want to remove the date in the <code>column['DATE']</code> and use the <code>quickfilter</code>.</p>
  
  <p>I do this:</p>
  
  <pre><code>quickfilter = (df_dexu.DATE &lt; 2018-12-1)
  df_dexu=df_dexu[quickfilter]
  </code></pre>
  
  <p>but it gives the error message: </p>
  
  <blockquote>
    <p>TypeError: invalid type comparison</p>
  </blockquote>