Sorting information from arrays

I need to sort some information from an array. I'm trying to find the minimum value out of two numbers, from a csv file, the first part of the information in the file is the names of people, so instead of 0, I put 1 in int(row[1])

But then python tells me that the index is out of range, and if I put 0 instead of 1, it tells me that there's an invalid literal, and I know that's because, there's text in the first part. What should I do?