Python can read a csv file but the content is wrong, but it can be opened with excel alone. How to solve it?
淡淡烟草味
淡淡烟草味 2017-05-18 11:00:22
0
3
731

Convert csv file to xlsx file but cannot read it, displaying various errors

This is when excel is opened

This is read using Python
This is the error when reading using Python after changing to xlsx

淡淡烟草味
淡淡烟草味

reply all(3)
小葫芦

Pay close attention to see if there is any problem when reading 编码, resulting in uneven separation

刘奇

You need to explain your mistakes clearly, such as printing them out, so others can help you!

迷茫

There is no problem converting to utf-8 encoding, Chinese will be displayed correctly, please check the encoding

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!