frecords is not necessary as you continually append to frecord. This means that row one is appended to frecords on the first pass. Then row 1 and row 2 are appended to frecords on the second pass, etc., because frecord still has row 1 in it And I assume that this is not all of your code as neither frecord or frecords is declared before the while. Note that you can simplify your code a little with
if type(cell_value) == type(str()): cell_value = cell_value.rstrip() ## frecord.append(cell_value) elif type(cell_value) == type(float()): cell_value=int(cell_value) ## frecord.append(cell_value) ## else: frecord.append(cell_value)