im getting confused with the data type of my pandas dataframe and dont know how to split my entries into several columns.
Data looks like:
Name1 Name2
0 [0.1,0.2,0.3] [{'label': 'Neutral', 'score': 0.60}]
1 [0.4,0.5,0.6] [{'label': 'Negative', 'score': 0.60}]
2 [0.7,0.8,0.9] [{'label': 'Positive', 'score': 0.60}]
The result should look like:
Name1 N1 N2 N3 Name2 Label Score
0 [0.1,0.2,0.3] 0.1 0.2 0.3 [{'label': 'Neutral','score': 0.60}] Neutral 0.60
1 [0.4,0.5,0.6] 0.4. 0.5. 0.6 [{'label': 'Negative','score': 0.60}] Negative 0.60
2 [0.7,0.8,0.9] 0.7 0.8 0.9 [{'label': 'Positive','score': 0.60}] Positive 0.60
Not quite confident with python but i need to work with a large dataset of a fwe 100k entries.
Help much appreciated!
Best