I want to group my list of lists by date and sum the values where the dates match in python

前端 未结 0 1106
温柔的废话
温柔的废话 2020-12-31 04:47

I have a list of lists like that:

l = [[\'05-05-2015\', -40], [\'05-05-2015\', 30], [\'07-05-2015\', -75], [\'05-05-2015\', -40], [\'05-05-2015\', 120], [\'07-0

相关标签:
回答
  • 消灭零回复
提交回复
热议问题