python filter list of dicts by key code example
Example: filter dict by list of keys python
dict_you_want = { your_key: old_dict[your_key] for your_key in your_keys }
dict_you_want = { your_key: old_dict[your_key] for your_key in your_keys }