title: Filter dictionary based on list of keys
body: <p>I have a dictionary <code>d = {'key1' : 1, 'key2' : 2, 'key3' : 3}</code>
  and a list <code>lst = ['key1','key2']</code></p>
  
  <p>How do I filter the dictionary to only include keys in my list, such that I obtain <code>d = {'key1' : 1, 'key2' : 2}</code> ?</p>