Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

利用pd读取csv文件没办法读取,看起来是文件编码的问题 #45

Open
jinxsally opened this issue Dec 5, 2023 · 5 comments

Comments

@jinxsally
Copy link

jinxsally commented Dec 5, 2023

[不知道是不是文件太大了,这个csv文件没办法读进去,打开记事本这个文件编码确实是utf-8,网上的方法都试过了
图片1

@andyhuang18
Copy link
Collaborator

可以附带一些截图信息,要不然其他人不了解问题的详细内容

@jinxsally
Copy link
Author

可以附带一些截图信息,要不然其他人不了解问题的详细内容

好的好的我上传一下 昨天忘记加上去了 不好意思

@LghLcxLjxLxb
Copy link

看不到图片哎

@LghLcxLjxLxb
Copy link

现在好了

@thirstylearning
Copy link

在csv文件中有的时候会为了便于图形化展示对数据使用一定格式来展示,看起来你的报错是由于在数据中出现了数据0xa3,这种无法被utf8解析,这种其实可以在excel软件中操作一下数据的格式,把格式变成可以被解码的,否则会引起报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants