title: Converting between datetime and Pandas Timestamp objects
body: <p>I have the following:</p>
  
  <pre><code>&gt; date1
  Timestamp('2014-01-23 00:00:00', tz=None)
  
  &gt; date2
  datetime.date(2014, 3, 26)
  </code></pre>
  
  <p>and I read on <a href="https://stackoverflow.com/a/13753918/283296">this answer</a> that I could use <code>pandas.to_datetime()</code> to convert from <code>Timestamps</code> to <code>datetime</code> objects, but it doesn't seem to work:</p>
  
  <pre><code>&gt; pd.to_datetime(date1)   
  Timestamp('2014-01-23 00:00:00', tz=None)
  </code></pre>
  
  <p>Why? How can I convert between these two formats?</p>