Jackson wrote:
> I'm currently using a function pasted in below. This allows me to sum
> a column (index) in a list of lists.
>
> So if mylist = [[1, 2, 3], [1, 3, 4], [2, 3, 4], [2, 4, 5]]
> group_results(mylist,[0],1)
>
> Returns:
> [(1, 5), (2, 7)]
>
> What I would like to do is allow a tupl
I'm currently using a function pasted in below. This allows me to sum
a column (index) in a list of lists.
So if mylist = [[1, 2, 3], [1, 3, 4], [2, 3, 4], [2, 4, 5]]
group_results(mylist,[0],1)
Returns:
[(1, 5), (2, 7)]
What I would like to do is allow a tuple/list of index values, rather
than