Answers for "'utf-8' codec can't decode byte 0xe0 in position 100972"

23

'utf-8' codec can't decode byte 0x85 in position 715: invalid start byte

import pandas as pd
data = pd.read_csv(filename, encoding= 'unicode_escape')
Posted by: Guest on March-19-2020
0

utf-8 codec can't decode byte python

# try this if you get the error utf-8 codec can't decode byte
# Assuming your file is pipe delimited otherwise remove sep='|'
pd.read_csv(r'C:pathtofile.csv', sep='|', encoding = "ISO-8859-1")
Posted by: Guest on August-12-2021

Code answers related to "'utf-8' codec can't decode byte 0xe0 in position 100972"

Python Answers by Framework

Browse Popular Code Answers by Language