human
list of dicts to/from dict of lists
assistant
Here is some code to group a list of dicts `LD` into one dict by key

print(dict(zip(LD[0], zip(*[list(d.values()) for d in LD]))))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.