Reputation: 15
I am trying to upload a csv from a url but i get the following error: 'utf-8' codec can't decode byte 0x82 in position 16: invalid start byte
The code is as follows:
url = "http://www.akyokus.com/COE-101-Grades.xlsx"
pd.read_csv(url)
What can i do to solve this issue?
Upvotes: 0
Views: 5147
Reputation: 3400
Your file is xlsx so pd.read_excel
should work
url = "http://www.akyokus.com/COE-101-Grades.xlsx"
pd.read_excel(url)
Upvotes: 4