title: date Column conversion in pandas
body: <p>My data looks like this </p>
  
  <p>Date     Value</p>
  
  <p>0
  2009-01 30 </p>
  
  <p>1
  2009-02 25 </p>
  
  <p>2
  2009-03 23 </p>
  
  <p>3
  2009-04 27 </p>
  
  <p>4
  2009-05 38 </p>
  
  <p>train.info()</p>
  
  <p>
  RangeIndex: 84 entries, 0 to 83
  Data columns (total 2 columns):
  Date     84 non-null object
  Value    84 non-null int64
  dtypes: int64(1), object(1)
  memory usage: 1.4+ KB</p>
  
  <p>data type is shown as object but while i am trying to convert to date time getting an error
  AttributeError                            Traceback (most recent call last)
   in 
  ----> 1 train['Date']= pd.to_datetime(train['Date'])</p>
  
  <p>AttributeError: 'float' object has no attribute 'to_datetime'</p>