Answers for "'utf-8' codec can't decode bytes in position 42779-42780:"

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 bytes in position 42779-42780:"

Python Answers by Framework

Browse Popular Code Answers by Language