title: Dataframe pivot in specific format
body: <p>Currently I have a dataframe in the following format :</p>
  
  <pre><code>ID  Value   Type    Month
  1   0.1     B       Jan
  2   0.2     A       Jan
  1   0.15    A       Feb
  2   0.1     B       Feb
  </code></pre>
  
  <p>I am trying to get it to display each column value by month like so:</p>
  
  <pre><code>Month Jan            Feb
        Value   Type   Value   Type
  ID     
  1     0.1     B      0.15    A
  2     0.2     A      0.1     B
  
  </code></pre>
  
  <p>I run the following to pivot the data</p>
  
  <pre><code>df.pivot(index='ID', columns='Month', values=['Type', 'Value'])
  </code></pre>
  
  <p>But instead the table comes out like so</p>
  
  <pre><code>      Value        Type
        Jan   Feb    Jan   Feb
  ID     
  1     0.1   0.15   B     A
  2     0.2   0.1    A     B
  </code></pre>
  
  <p>Is there any way to get it to come out like I want? Have not been able to find a way to structure the pivot table like I want to. <a href="https://stackoverflow.com/questions/47152691/how-to-pivot-a-dataframe?rq=1">How to pivot a dataframe</a> does not appear to address this specific format request</p>