I have a list that looks like this:
Sum = ['* Report_type Leach\n',
'* Result_text Concentration \n',
'* Run_Id 179\n',
'* Location MUENSTER\n',
'* Meteo_station KREM-M\n',
'* Soil_type KREM\n',
'* Crop_calendar SUGARBEET\n',
'* Substance ABC\n',
'* Application_scheme DRY\n',
'* Deposition_scheme No\n',
'* Results 0.0001\n'
]
and I want to convert it to a pandas dataframe like this:
df =
col1 col2
0 Report_type Leach
1 Result_text Concentration
2 Run_Id 179
3 Location MUENSTER
4 Meteo_station KREM-M
5 Soil_type KREM
6 Crop_calendar SUGARBEET
7 Substance ABC
8 Application_scheme DRY
9 Deposition_scheme No
10 Results 0.0001
The first columns of characters in the list has a fixed lenght.