stor

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
data= [
{"main": 12, 'a':1
},
{
"main": 13, 'b':1
}
{
"main": 12, 'c':1
}
]
stor = {}
fox x in data:
time = x['time']
if not (x in stor ):
stor[time]=x.copy()
else:
stor[time].update(x)
print(stor.values())