I want to convert strings to foll. pandas dataframe for column headers:
transition area
0 A_to_B -9.339710e+10
1 B_to_C 2.135599e+02
result:
A_to_B B_to_C
0 -9.339710e+10 2.135599e+02
I tried using a pivot table, but this does not look like the result I want.
source
share