I have an excel file that contains a table of numbers. When I opened the file and tried to cast the number in the table to integer, I somehow got the following error.
ValueError: could not convert string to float: '2.500.000\ufeff'
Weirdly, when I checked the original file using software like WPS, the number looked fine, it only shows '2.500.000'. I couldn't fix something that doesn't look wrong. Other numbers in table though could be read just fine.
It's just when I opened the file using pandas, I got the above error. It seemed to only occur in just one data. I have tried to google it, but nothing seemed to explain what ufeff
is. I assume it's some kind of encoding, but I have no clue. How do I fix this?