I have the below python list:
w=[[['I=427', 'PLAN=1'], 'A=0PDB'],
[['I=427', 'PLAN=1'], 'B=40NGC'],
[['I=427', 'PLAN=1'], 'C=21#NGA'],
[['I=429', 'PLAN=1'], 'A=0PDB'],
[['I=429', 'PLAN=1'], 'B=18C'],
[['I=429', 'PLAN=1'], 'C=28TGD'],
[['I=429', 'PLAN=1'], 'D=18TGA'],
[['I=429', 'PLAN=1'], 'E=1A'],
[['I=429', 'PLAN=2'], 'A=0PDB'],
[['I=429', 'PLAN=2'], 'B=17C']]
How can I convert it to the below pandas DataFrame:
So, from the second string in the list I want to select the first string, the number after equal sign and the last string. For example in B=40NGC, I want to choose B,40,C and put it into the DataFrame.
