iterate through Series instead of DataFrame