title: Reading file with panda, then using for loop
body: <hr>
  
  <p>Im trying to read large text files with hundreds of thousands of lines in them, to make it go faster Im trying to use panda, this is the concept I want my code to be like, Im not really sure how to use for loops with panda files. Lmk if its logical to have a program do this in an attempt to make the runtime shorter. Thanks..</p>
  
  <pre><code>df1 = pd.read_csv('FILENAME1',sep=',',error_bad_lines=False)
  df2 = pd.read_csv('FILENAME2',sep=',',error_bad_lines=False)
  for index, row in df1.iterrows():
      for index2, row2 in df2.iterrows():
          if index[1]==row2[2] and index[0]==row2[1]:
              print "this info matches"
  </code></pre>