filter dict keys using list 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 }