title: How can I make a pivot_table with categorical values?
body: <p>I have four categorical columns In the following code.</p>
  
  <p>Can I do a <em>pivot</em> with <em>values</em> (categorical column)?</p>
  
  <pre><code> df.pivot_table(index=['DATE','COUNTRY'],columns='METRIC',values='VALUE',dropna=True).reset_index()
  </code></pre>
  
  <p>I have the next error:</p>
  
  <pre><code>DataError: No numeric types to aggregate
  </code></pre>