I am trying to read a CSV file from Google Drive with Pandas library. However, I get the following error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xae in position 11: invalid start byte
I downloaded the data successfully and stored it in "/content/data" (=working directory).
To read the data I do the following:
file = os.path.join(os.getcwd(), 'file.txt')
# /content/data/file.txt
df = pd.read_csv(file1, delimiter='\t')
And that's where I get the error. What is the problem here?
I already tried the proposed solutions here: UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c. However, I still get the same error.