title: Pandas Lambda Function : attribute error 'occurred at index 0'
body: <p>I am using Pandas to create a new column in a data frame created from a csv.      </p>
  
  <pre><code>[in] DfT_raw = pd.read_csv('./file.csv', index_col = False)
  [in] print(DfT_raw)
  
  [out]            Region Name dCount ONS    CP  S Ref E  S Ref N   Road  \
  0        East Midlands  E06000015      14/04/00 00:00  37288   434400   336000   A516   
  1        East Midlands  E06000015       14/04/00 00:00  37288   434400   336000   A516   
  2        East Midlands  E06000015       14/04/00 00:00  37288   434400   336000   A516   
  3        East Midlands  E06000015       14/04/00 00:00  37288   434400   336000   A516   
  </code></pre>
  
  <p>I define a function to strip the time from the datetime fieldn (dCount) and then create a new column 'date'</p>
  
  <pre><code>[in] def date_convert(dCount):
           return dCount.date()
  
       DfT_raw['date'] = DfT_raw.apply(lambda row: date_convert(row['dCount']), axis=1)
  
  [out] AttributeError: ("'str' object has no attribute 'date'", u'occurred at index 0')
  </code></pre>
  
  <p>There is some issue with the index_col. I previously used index_col = 1 but got the same error.</p>
  
  <p>When I print 'dCount' I get</p>
  
  <pre><code>0          14/04/00 00:00
  1          14/04/00 00:00
  2          14/04/00 00:00
  3          14/04/00 00:00
  4          14/04/00 00:00
  </code></pre>
  
  <p>The index column is causing the error. How do I ensure this isn't given to the function?</p>