I have a list of size 2 tuples which have floats in them. Some of the floats are nearly equal and are close enough to be considered equal. numpy isclose() can be used with good effect here. I need to remove the duplicates in the list while always retaining the first value.

```
import numpy as np
data=zip(C1,C2)
comparray=[]
eval1=np.isclose(data[0],data[1])
comparray.append(eval1[0])
i=0
while i<(len(data)-1):
    eval=np.isclose(data[i],data[i+1])
    print eval
    comparray.append(eval[0])        
    i+=1
l1=[a for a,b in zip(data,comparray) if not b]

```

I have this code which does what I need, but it seems really poor. Is there a more pythonic way of doing this?
Thanks for the help.