Your splitting code works. Every row becomes a tidy list of values.
Then someone adds a person who lives in Lima, Peru.
Not a mistake. Not a broken file. Just a city written the way people write cities.