1

I try with this command to read a csv file

import pandas as pd
papers=pd.read_csv('C:/Users/User/Desktop/myfile.csv')

but I receive this error:

'utf-8' codec can't decode byte 0x92 in position 80: invalid start byte

Any idea what should I add in the read commnad?

astrochun
  • 1,642
  • 2
  • 7
  • 18
Erik Bodg
  • 302
  • 2
  • 10
  • Have you ever tried the suggestions below? [Stackoverflow encoding error in pandas read_csv](https://stackoverflow.com/questions/30462807/encoding-error-in-panda-read-csv) – bbasaran Apr 18 '21 at 15:41

0 Answers0