title: How to compare dates with string in pandas?
body: <p>I have <code>df['date'] = pd.to_datetime(df['Transaction_Date'], format = '%d/%m/%Y')</code> which seems to work fine. However, I really annoyingly I still seem to have to use month/day/year format when I compare dates. As in </p>
  
  <pre><code>df[(df['date'] &gt; "04/10/2018") &amp; (df['date'] &lt; "05/10/2018")]
  </code></pre>
  
  <p>Is there any way to persuade pandas to allow day/month/year format when comparing dates?</p>