I have a json file that I splited into 2 column using pandas, and it looks like this :
URL report
0 121 [{'detected': True, 'name': 'Alfa', 'version' : '21.04'},{'detected': True, 'name': 'Alfa1'} ...
1 104 [{'detected': True, 'name': 'Beta', 'version' : '25.04.01'},{'detected': True, 'name': 'Beta3'}...
2 112 [{'detected': False, 'name': 'Alfa', 'version' : '21.04'},{'detected': True, 'name': 'Beta'}...
I want to make it look like this, removing the 'version':
URL report_1 report_2 report_3
0 121 {'detected': True, 'name': 'Alfa'} {'detected': True, 'name': 'Alfa1'} ...
1 104 {'detected': True, 'name': 'Beta'} {'detected': True, 'name': 'Beta3'}...
2 112 {'detected': False, 'name': 'Alfa'} {'detected': True, 'name': 'Beta'}...
The number of reports is not the same for every URL. Please if anyone could help me as I am struggling to find out how to split them. Many thanks in advance!
I honestly do not know what to try as I cannot seem to find a code that would work.