title: TypeError: strptime() argument 1 must be string, not Series
body: <p>I am writing a single entry from a column of a data frame</p>
  
  <p>2011100101 is interpreted as 1 AM of 1st October 2011.</p>
  
  <p>I want it to change in the format as YYYY-Mmm-dd HH</p>
  
  <pre><code>train['date1']=datetime.strptime(train['ID'], '%Y%m%d%H')
  </code></pre>
  
  <p>but getting an error TypeError: strptime() argument 1 must be string, not Series</p>
  
  <p>How to change in the required format for the entire entries in a single column?</p>