python在用pandas對csv檔案處理的時候報UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xb6。。。的錯誤
解決辦法:
1,首先開啟要讀取的csv檔案,開啟方式選擇記事本。
2,點選左上角的檔案,選擇另存為,然後在做下面有個**編碼的選項,**選擇 utf-8 。確定。
問題解決。
https://blog.csdn.net/shangxiaqiusuo1/article/details/87890769
相關文章
- Python報錯:UnicodeDecodeError: 'gbk' codec can't decode byte ...PythonUnicodeError
- pip install 報錯UnicodeDecodeError: 'ascii' codec can't decode byteUnicodeErrorASCII
- Python讀取csv檔案出現解碼錯誤UnicodeDecodeError: ‘utf-8‘ codec can‘t decodPythonUnicodeError
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in position 0: invalid continuation byteUnicodeError
- tensorflow讀取圖片時出現錯誤UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid sUnicodeError
- PyMySQL 獲取資料 'utf-8' codec can't decode byte 0xed in position 2: 錯誤MySql
- Python3.7使用pip install xxxx報錯:UnicodeDecodeError: 'gbk' codec can't decode bytePythonUnicodeError
- Python讀取檔案時出現UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position xx: 解決方案PythonUnicodeError
- json.dumps錯誤:'utf8' codec can't decode byte解決方案JSON
- pipenv install error UnicodeDecodeError: 'utf8' codec can't decode byte 0xb4 in positionErrorUnicode
- PIP3安裝報錯nicodeDecodeError: 'ascii' codec can't decode byte 0xc3ErrorASCII
- pip install ... ERROR: UnicodeDecodeError: ‘gbk‘ codec can‘t decode/ python setup.py egg_info CheckErrorUnicodePython
- Python——UnicodeEncodeError: 'ascii' codec can't encode/decode charactersPythonUnicodeErrorASCII
- python報錯問題解決:'ascii' codec can't encode characterPythonASCII
- 對於CSV檔案中{,}和{"}的處理
- 使用 Python 處理 CSV 檔案Python
- Python處理CSV檔案的幾個方法Python
- pandas操作csv檔案
- RMAN的"rman: can't open target"錯誤
- RMAN備份時候檔案壞塊的處理
- 【crontab】“bad minute”及“errors in crontab file, can't install”錯誤處理Error
- Python之錯誤異常和檔案處理Python
- Sublime Text 2報 Decode error - output not utf-8 錯誤的解決辦法Error
- Sublime Text 2報“Decode error - output not utf-8”錯誤的解決辦法Error
- CSVKIT——處理csv檔案的瑞士軍刀
- Sublime報Decode error - output not utf-8 or cp936 錯誤的解決辦法Error
- 錯誤處理--pure specifier can only be specified for functionsFunction
- GTID複製報錯處理:Last_Error: Error 'Can't drop database 'test';ASTErrorDatabase
- csv跨域傳輸再生成csv檔案處理跨域
- 異常: 'ascii' codec can't encode charactersASCII
- Python錯誤處理Python
- MYSQL報1022錯誤:Can't write;duplicate key in table '.....'MySql
- Sublime下python 報錯[Decode error - output not utf-8]解決辦法PythonError
- 搭建dataguard時,錯誤處理
- Day03:檔案開啟;錯誤處理
- Linux中利用csvquote處理csv檔案Linux
- python cx_Oracle: UnicodeEncodeError: 'ascii' codec can't encode charactersPythonOracleUnicodeErrorASCII
- sublime text編譯時提示錯誤[Decode error - output not utf-8] compilation terminated編譯Error