Lista de Python Dict SetDefault
newdata = {}
for k, v in DATA_SOURCE:
newdata.setdefault(k, []).append(v)
Rusty Gun
newdata = {}
for k, v in DATA_SOURCE:
newdata.setdefault(k, []).append(v)