Hi, I've got a python list like
a = [
[[1,2,(3,4)],[1,2,(5)],[-3,3,(3)],[8,-2,(5)]],
[[1,2,(3,4,5)],[-1,222,(3,4,5)],[99,2,(3)],[8,-2,(4,5)]]
]
The tuple in each list element is total useless, please ignore that but delete them
I want to get the max min value from each list element in each position
The exepected output structure is
li = [[xmin, ymin, xmax, ymax], [xmin, ymin, xmax, ymax] ]
In this case li is [[-3, -2, 8, 3], [-1, -2,99, 222]]
So is there any easy to do ?Thank