I have a very long file (about 2*10^5 rows times 5 columns) filled with numbers (floats).
I have to find the maximum value among the numbers of the first column and then consider the corresponding numbers on the other four columns on the same line.
I thought I might use use a dictionary: the keys are the number in the first column, the values are a list containing the others. I find the maximum among the keys and read the corresponding value.
Is there a smarter way? That dictionary is going to be very big...
I, almost forgot: I use python 2.6.