Suppose I have the following contrived example:
    ids        types    values                                                                                                                                
     1          a         10                                                                                                                           
     1          b         11                                                                                                                             
     1          c         12
     2          a         -10
     2          b         -11 
     3          a         100
Is there way to use panda.pivot() to get the following table?
    ids      a     b     c                                                                                                                                 
     1       10    11    12   
     2      -10   -11    NaN 
     3       100   NaN   NaN                                                                                                                          
 
    