title: Python Pandas create Date Time index from date
body: <p>I have the following python pandas dataframe df: </p>
  
  <pre><code>    DATES       Sales
  0   1/6/2013    5676
  1   1/8/2014    45746
  2   1/10/2015   42658
  3   1/14/2015   890790
  4   1/16/2016   5764
  5   1/20/2014   7898
  </code></pre>
  
  <p>I need to change DATES to a Date Time Index, so that i can resample it. </p>
  
  <p>But when I do this</p>
  
  <pre><code>pd.to_datetime(df,infer_datetime_format=True)
  </code></pre>
  
  <p>I get the following error:
  ValueError: to assemble mappings requires at least that [year, month, day] be specified: [day,month,year] is missing</p>