title: In Pandas how do I convert a string of date strings to datetime objects and put them in a DataFrame?
body: <pre><code>import pandas as pd
  date_stngs = ('2008-12-20','2008-12-21','2008-12-22','2008-12-23')
  
  a = pd.Series(range(4),index = (range(4)))
  
  for idx, date in enumerate(date_stngs):
      a[idx]= pd.to_datetime(date)
  </code></pre>
  
  <p>This code bit produces error: </p>
  
  <blockquote>
    <p>TypeError:" 'int' object is not iterable"</p>
  </blockquote>
  
  <p>Can anyone tell me how to get this series of date time strings into a DataFrame as <code>DateTime</code> objects?</p>