title: How to group list of lists in Python?
body: <p>I have a list of lists looking like this:</p>
  
  <pre><code>['user1', time, cpus, mem]  
  ['user1', time, cpus, mem]
  ['user2', time, cpus, mem]
  ['user3', time, cpus, mem]
  </code></pre>
  
  <p>and so on..</p>
  
  <p>I need just one list per user with time, cpus and mem added together. I've tried a few things but i cant make it work.</p>