title: Is there a difference between pd.pivot_table() and df.pivot()?
body: <p>Because when I do </p>
  
  <pre><code>pd.pivot_table(df, values='frequency', columns='word', index=['senator', 'state'])
  </code></pre>
  
  <p>I get the correct output</p>
  
  <pre><code>[10 rows x 42725 columns]
  </code></pre>
  
  <p>But when I do </p>
  
  <pre><code>df.pivot(values='frequency', columns='word', index=['senator', 'state'])
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>ValueError: Wrong number of items passed 118158, placement implies 2
  </code></pre>
  
  <p>Here is the shape of my data:</p>
  
  <pre><code>        word  frequency  senator state
  1   straight          5  daschle    sd
  2    screens          1  daschle    sd
  3  knockdown          1  daschle    sd
  4  Combating          3  daschle    sd
  5        say        169  daschle    sd
  </code></pre>