When reading a CSV file using pd.read_csv(), the following error occurs:
UnicodeDecodeError: ‘UTF-8’ codec can’t decode byte 0xD0 in position 0: invalid continuation byte
The file is not encoded in UTF8, and the system uses UTF8 decoding by default. The solution is to change the corresponding decoding mode.
Solutions:
- find the CSV file – “right after the notepad to open the notepad -” open way “, choose the head menu “file -> save as”, can see the default encoding of the file format for ANSI

