I have dataframe like this
field_id    field_name       field_value
4           Rate                  40
5           Rate                  35
4           Duration              60
5           Duration              180
I want to convert it into something like this
id    Rate        Duration
4       40           60
5       35           180
How can I do this in python ? Please help
 
     
    