0
Follow
0
View

python dataframe problem

dancetoy 注册会员
2023-02-27 23:34
< div class = " md_content_show“数据- v - 3967 e397 = " " >

with open(r'out.csv', 'r') as c:
    print(c.readlines()[3:])

dead1999 注册会员
2023-02-27 23:34

< br/>UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence< /p>

'GBK' codec can't decode byte 0xbf in position 2: illegal multibyte sequence

cupl513 注册会员
2023-02-27 23:34
< div class = " md_content_show“数据- v - 3967 e397 = " " >



with open(r'out.csv', 'r', encoding='utf-8') as c:
    print(c.readlines()[3:])

diss33 注册会员
2023-02-27 23:34

pandas is also used for performing only the results of the second image. Just make sure to start reading at line 4.

About the Author

Question Info

Publish Time
2023-02-27 23:34
Update Time
2023-02-27 23:34

Related Question

Aif360 python优化预处理

用vs2022写python代码,导入的第三方库经常莫名失效。有时显示未导入却能用。

使用bs4获取链接信息并存储到dataframe

Python的多阶段docker容器

python对图片进行降维处理,余弦相似度匹配图片

关于Python数组的问题

python语言借用高德接口进行地理编码,文件无法运行

当使用多个传感器时,Python解决了gpiozero

关于#python#的问题,如何解决?

在Python中从父父方法继承类型提示