I have a dictionary like this:
features_id = {
id1: [a, b, c, d],
id2: [c, d],
id3: [a, e, f, d, g, k],
...
}
I have also a list of values I want to create a new dictionary. Something like this:
list_of_values = [a, c]
Goal to achieve:
I want a new dictionary like this:
new_dict = {
id1: [a, c],
id2: [c],
id3: [a],
...
}