title: pandas dropping rows based on datetime condition
body: <p>I am dropping rows based on a datetime condition, I have it working with the following line</p>
  
  <p><code>df.drop(df[df.index.date == datetime(2017,9,14).date()].index, inplace=True)</code></p>
  
  <p>However when I actually run the code I am not passing a <code>datetime(2017,9,14).date()</code> for comparison I am passing a <code>datetime.date(2017,9,14)</code> . So the code would look something like this...</p>
  
  <p><code>df.drop(df[df.index.date == datetime.date(2017,9,14)].index, inplace=True)</code></p>
  
  <p>but that obviously throws a error : </p>
  
  <p>"descriptor 'date' requires a 'datetime.datetime' object but received a 'int'"</p>
  
  <p>what would be the best way to fix this problem to be able to compare dates.</p>