I have this CSV data
C,kernel,error
0.001,linear,0.03
0.001,poly,0.04
0.01,linear,0.01
0.01,poly,0.03
0.1,linear,0.00
0.1,poly,0.02
1.0,linear,0.00
1.0,poly,0.01
10.0,linear,0.00
10.0,poly,0.01
Using pandas, how can I create a dataframe that contains a column of unique C values, the kernel associated to that C value as well as the error?
expected output
C, linear, poly
0.001,0.03,0.04 <-- error values
0.01,0.01,0.03
0.1,0.00,0.02
1.0,0.00,0.01
10,0.00,0.01