Python: Map list of two-entry-dicts to dict with first entry as key and second as value
<p>I have something like this:</p>

<pre><code>[{'date': 1, 'value':5}, {'date':2,'value':3}, ...]
</code></pre>

<p>and want to map the values this two keys to this:</p>

<pre><code>{1:5, 2:3, ...}
</code></pre>

<p>How can I do this in a nice way?</p>
