title: TypeError: pivot_table() got multiple values for keyword argument 'values'
body: <p>I am using Python2.7. I am learning pandas and was implementing pivot_table. While implementing the example given in pivot_table <a href="http://pandas.pydata.org/pandas-docs/stable/generated/pandas.pivot_table.html" rel="noreferrer">documentation</a> : </p>
  
  <pre><code>    raw_data = {'A':['foo','foo','foo','foo','foo','bar','bar','bar','bar'],
          'B':['one','one','one','two','two','one','one','two','two'],
          'C':['small','large','large','small','small','large','small','small','large'],
          'D':[1,2,2,3,3,4,5,6,7]}
      df = pd.DataFrame(raw_data)
      df.pivot_table(df,index = ['A','B'], values = 'D',columns = 'C', aggfunc = 'sum')
  </code></pre>
  
  <p>When run, I get the following error : 
  TypeError: pivot_table() got multiple values for keyword argument 'values'</p>
  
  <p>Can anyone tell why this is happening ?</p>