当前位置:网站首页>UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xff in position 0: invalid start byte
UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xff in position 0: invalid start byte
2022-07-27 19:57:00 【Roaming vegetable chicken】
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xff in position 0: invalid start byte
Error code :df=pd.read_csv("./ttt.txt",sep=",",encoding=“utf-8”)
The solution is to convert the document code to utf8, Here are two solutions !
Solution one ( Failure ):
Solution two ( success ):
use Notepad++ open , Then turn to utf-8 code , This transformation is successful .
Reference resources :https://blog.csdn.net/datadev_sh/article/details/83541811
边栏推荐
- Unity-FairyGUI播放视频(Lua)
- An unknown fastcgi error occurred in IIS: 0x80070005
- DatePicker(日期选择器)与TimePicker(时间选择器)
- 11.2DHCP
- 探索新一代活动获客方式,虚拟化活动棋胜一招 | 厂商征集
- OneNote code highlighting
- JS event listening mouse keyboard form page onclick onkeydown onchange
- DCM11- 根据标识符写入数据服务 ($2E)的功能和配置【基于DaVinci Configurator Classic】
- Intent(有无返回值得跳转)
- MarqueeTextview(跑马灯)
猜你喜欢
随机推荐
黑客入门教程(非常详细)从零基础入门到精通,看完这一篇就够了。
Oracle +JDBC
Gesturedetector (gesture recognition)
Radiogroup (radio box)
MySQL time zone problem
Influxdb series (IV) TSM engine (storage principle)
强化学习介绍
No experts! Growth secrets for junior and intermediate programmers and "quasi programmers" who are still practicing in Universities
An unknown fastcgi error occurred in IIS: 0x80070005
ContextMenu (context menu)
第3章 基本操作
BroadcastReceiver(广播)
Togglebutton (button switch)
C193:评分系统
C#网络应用编程,实验2:IP地址转换和域名解析练习
22年PMP考试【全真敏捷试题】
能上QQ但网页打不开
Introduction to socke programming
四大组件之ContentProvider
Publish your own NPM component library







![[RCTF2015]EasySQL-1|SQL注入](/img/69/aa1fc60ecf9a0702d35d876e8c3dda.png)
