title: Pandas, TypeError: an integer is required (got type str)
body: <p>I am trying to filter my Column New_Date .</p>
  
  <pre><code>0    2019-11-20
  1    2019-11-18
  2    2019-11-16
  3    2019-11-13
  4    2019-11-11
  5    2019-11-10
  6    2019-11-08
  7    2019-11-06
  8    2019-11-02
  9    2019-11-01
  10   2019-10-30
  11   2019-10-28
  12   2019-10-26
  13   2019-10-01
  14          NaT
  15          NaT
  16   2019-10-18
  17   2019-10-13
  18   2019-10-10
  19   2019-10-08
  20          NaT
  21          NaT
  
  
  filterdate = datetime.date(input())
  d1 = d1[(d1['New_Date'] &gt; '{filterdate}') &amp; (d1['New_Date'] != 'NaT')]
  </code></pre>
  
  <p>I input my date in this format "2019-11-11"</p>
  
  <p>and I get this <code>TypeError: an integer is required (got type str)</code></p>
  
  <p>Any help would be appreciated.</p>