Dear nirgrahamuk,
You were right and I was too quick to dismiss your original suggestion. When I searched for 'NA's in one of the other columns I found two rows with 'NA's in all the columns. They were at the end of the dataframe, not contiguous with the other rows containing 800 in the first column. Your suggestion prompted me to look for the offending rows more widely.
Many thanks for your interest and support.