title: Pandas Dataframe Reshape/Pivot - Duplicate Values in Index Error
body: <p>I'm using Python 2.7 with Pandas 0.19.2</p>
  
  <p>I've looked at some similar questions/answers to this problem but still haven't been able to solve.</p>
  
  <p>I have the following dataframe:</p>
  
  <pre><code>          Date         name      objects
  0   2005-11-17         Pete        6
  1   2014-02-04         Rob         3
  2   2012-02-13         Rob         2
  3   2004-12-16         Julia       4
  4   2012-02-13         Mike        9
  </code></pre>
  
  <p>I want to reshape it as follows:</p>
  
  <pre><code>              Pete   Rob    Julia   Mike
  
  2005-11-17     6     Nan     Nan    Nan
  2014-02-04    Nan     3      Nan    Nan
  2012-02-13    Nan     2      Nan    9
  2004-12-16    Nan    Nan      4     Nan
  </code></pre>
  
  <p>I have been trying to run <code>df.pivot(index='Date', columns='name', value='objects')</code> but I get an <code>'index has duplicate value'</code> error.</p>
  
  <p>I thought that <code>pivot</code> or <code>pivot_table</code> work in these situations since there is essentially no 'conflict' between indexes and columns (e.g. multiple values for 'Rob' and '2014-02-04' in the dataframe).</p>
  
  <p>I am not looking to aggregate - just reshape.  Also in the example the dates are not in order - but that doesn't matter.</p>
  
  <p>I feel this should be an easy fix but I can't see it.  Can someone share some insight?</p>
  
  <p>Thanks in advance.</p>