title: Grouping similar month and year in a list
body: <p>I have a list of dictionary containing dates and amounts</p>
  <pre><code>records = [
             {'date':'01 Feb 2020', 'amount':1000}, {'date':'03 Mar 2020', 'amount':2000}, 
             {'date':'22 Mar 2020', 'amount':3000},
             {'date':'12 Jan 2019', 'amount':1000}, {'date': '02 Feb 2018', 'amount':2500}, 
             {'date': '02 Mar 2020', 'amount':2500}, {'date': '11 Feb 2020', 'amount':1200}
  
          ]
  </code></pre>
  <p>I am trying to achieve something . I want to group similar month and year and get something like this:</p>
  <pre><code>result = [{'Feb 2020':[1000, 1200]}, {'March 2020':[2000, 3000, 2500]}, {'Jan 2019':[1000]}]
  </code></pre>
  <p>How do I do this?</p>