title: Selecting date and time within a dataframe in pandas
body: <p>I have a dataframe that looks like this</p>
  
  <pre><code>    Date            MBs     GBs
  0   2018-08-14 20:10    32.00 MB    0.00 GB
  1   2018-08-14 20:05    4.00 MB     0.00 GB
  2   2018-08-14 20:00    1000.99 MB  1.23 GB
  </code></pre>
  
  <p>Ive already done this : </p>
  
  <pre><code>na_aus['Date'] =  pd.to_datetime(na_aus['Date'], format='%Y-%m-%d %H:%M:%S')
  </code></pre>
  
  <p>But when i try to do a simple filter like this :</p>
  
  <pre><code>na_aus.loc['2018-08-14 19:50' : '2018-08-14 20:10'] 
  </code></pre>
  
  <p>All I get is:</p>
  
  <pre><code>Date            MBs     GBs
  </code></pre>
  
  <p>With no data returned. </p>
  
  <p>I tried following this <a href="https://stackoverflow.com/questions/29370057/select-dataframe-rows-between-two-dates#29370182">Select dataframe rows between two dates</a> but its not working</p>