title: How to find the difference between two lists of dictionaries?
body: <p>I have two lists of dictionaries and I'd like to find the difference between them (i.e. what exists in the first list but not the second, and what exists in the second list but not the first list). </p>
  
  <p>The issue is that it is a list of dictionaries</p>
  
  <pre><code>a = [{'a': '1'}, {'c': '2'}]
  b = [{'a': '1'}, {'b': '2'}]
  
  set(a) - set(b)
  </code></pre>
  
  <p>Result</p>
  
  <pre><code>TypeError: unhashable type: 'dict'
  </code></pre>
  
  <p>Desired Result: </p>
  
  <pre><code>{'c': '2'}
  </code></pre>
  
  <p>How do I accomplish this?</p>