'utf-8' codec can't decode byte 0xa0 in position 4276: invalid start byte

前端 未结 4 684
伪装坚强ぢ
伪装坚强ぢ 2020-12-05 07:54

I try to read and print the following file: txt.tsv (https://www.sec.gov/files/dera/data/financial-statement-and-notes-data-sets/2017q3_notes.zip)

According to the S

4条回答
  •  借酒劲吻你
    2020-12-05 08:44

    ds = pd.read_csv('/Dataset/test.csv', encoding='windows-1252') 
    

    Works fine for me, thanks.

提交回复
热议问题