Q:

comparing lists at a previous index

I have got 2 lists for which I would like to compare to one index before :
for (min,max) in zip(csv_parse(2010)['min'],csv_parse(2010)['max']):

basically I would like something like this :
if min > min(back one increment) and max < max (back on increment)
then, do something . 
Thanks ! 

A:

from itertools import izip
prev_min, prev_max = float('inf'), float('-inf')

for new_min, new_max in izip(csv_parse(2010)['min'], csv_parse(2010)['max']):
    if (new_min > prev_min) and (new_max < prev_max):
        #do something
    prev_min, prev_max = new_min, new_max

Switch the values of prev_min and prev_max above the loop if you do want to "do something" on the first item. 
Also, you probably want to use izip for something like this.  You also probably don't want to be parsing your csv twice (once for min, once for max) but I don't know for sure without seeing what csv_parse is.