python filter list of dictionaries based on key value 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 }