0
I’m starting at the Python and I have a problem: I need to open a file .csv
in the Python, but in the column header contains a ç
.
When I try to open it presents the following error:
Unicodedecodeerror: 'utf-8' codec can’t Decode byte 0xe7 in position 17: invalid continuation byte
Below an excerpt from my code:
import pandas as pd
caminhoarquivo = r'C:\Users\user\Desktop\teste.csv'
basedados = pd.read_csv(caminhoarquivo,sep=';',decimal=',')