title: Pandas: How to pivot one column in rows into columns
body: <p>Given this dataframe:</p>
  
  <pre><code>   feature score    searchTerm
  0   a      0.534509 pizza
  1   b      0.586020 pizza
  2   c      0.588972 pizza
  3   a      0.566261 chinese
  4   b      0.572405 chinese
  5   c      0.489369 chinese
  6   a      0.499068 thai
  7   b      0.431068 thai
  8   c      0.441617 thai
  </code></pre>
  
  <p>Feature is limited to (<code>a</code>,<code>b</code>,<code>c</code>)</p>
  
  <p>I want to pivot the dataframe into this:</p>
  
  <pre><code>   a        b        c          searchTerm
     0.534509 0.586020 0.588972   pizza
     0.566261 0.572405 0.489369   chinese    
     0.499068 0.431068 0.441617   thai
     ...
     ...
  </code></pre>