Ask your own question, for FREE!
Computer Science 23 Online
OpenStudy (bgrg007):

PYTHON HELP: in csv file, how do I compare first row with the rest of the rows, then compare second row with the rest of the rows and so on?

OpenStudy (rsmith6559):

Read in the .csv a row at a time into a list. Then use nested loops to compare them: rowNumber = 0 while( rowNumber < len( list ) - 2 ): rowNumber += 1 while( rowNumber < len( list ) - 1 ): # compare rows

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!