Remove column in a list of list

Hi,

I m looking to remove a full entire column in on of my list so I can plot it using chartmaker extension (it s a work around since I m not sure we can select the data we want to display -> it s on discussion in another topic).
My current list is looking like this (when I see it on list view):
0,21,68
1,22,65
2,21,62
3,25,62
...

and I would like to get:
0,21
1,22
2,21
3,25
...

So first I did copy the list and try to remove the column 3 by implementing a loop with a while

and I got this error: (the first row with -0.08 is normal :wink: )

Any suggestion?
thx by advance

2 posts were merged into an existing topic: ChartMaker extension