Reputation: 2672
I tried importing a csv file using
import pandas as pd
df=pd.read_csv("samle.csv")
But there is an error while importing the file :
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 28: invalid start byte
As i looked in the csv file, it had some characters like this: � How do i rectify this error?
Upvotes: 0
Views: 134