title: how to convert series integer to datetime in pandas
body: <p>i want to convert integer type date to datetime.</p>
  
  <p>ex) i : 20130601000011( 2013-6-1 00:00: 11 ) </p>
  
  <p>i don't know exactly how to use pd.to_datetime </p>
  
  <p>please any advice </p>
  
  <p>thanks</p>
  
  <p>ps. my script is below</p>
  
  <pre><code>rent_date_raw = pd.Series(1, rent['RENT_DATE'])
  return_date_raw = pd.Series(1, rent['RETURN_DATE'])
  rent_date = pd.Series([pd.to_datetime(date)
                         for date in rent_date_raw])
  daily_rent_ts = rent_date.resample('D', how='count')
  monthly_rent_ts = rent_date.resample('M', how='count')
  </code></pre>