title: Index Error from Python Loop
body: <p>For some reason I keep getting index out of range error for the following code!  All I want to do is compare the next data item to current one to check redundancy.</p>
  
  <pre><code>count =  0
  for row2 in data2:
      count = count +1
      if data2[count][0]!=row2[0]:
         data3.append(row2)
  </code></pre>