So i have a very specific problem. I am handling very big csv, files and they are not perfect all the time. Even though the files is in fact encoded with "utf-8", there are wrong bytes in it that cant be decoded. These bytes throw a UnicodeDecodeError:
'charmap' codec can't decode byte 0x9e in position 427: character maps to <undefined>
What i want to do is just ignore and replace the bytes that cant be decoded.I know that pandas 1.3 has a feature to ignore decoding errors, but i am on an older Version of pandas and cant update in the near future. Is there a other way to achieve the same result in older pandas versions?