title: Parsing string to datetime while accounting for AM/PM in pandas
body: <p>I am trying to parse a string in this format <code>&quot;2018 - 07 - 07 04 - AM&quot;</code>
  to pandas datetime using strftime format. However, It seems to me the format doesn't recognize the difference between <code>AM</code> and <code>PM</code>.</p>
  <p>Here is what I tried:</p>
  <pre><code>pd.to_datetime(&quot;2018 - 07 - 07 04 - PM&quot;, format='%Y - %m - %d %H - %p').timestamp()
  Out[4]: 1530936000.0
  pd.to_datetime(&quot;2018 - 07 - 07 04 - AM&quot;, format='%Y - %m - %d %H - %p').timestamp()
  Out[5]: 1530936000.0
  </code></pre>
  <p>Notice how the <code>AM</code> and <code>PM</code> are different in the above two strings, yet the same timeStamp is returned.</p>
  <p>Pandas version: 0.23.3</p>
  <p>Python version: 3.5.4</p>