SyntaxFix
Write A Post
Hire A Developer
Questions
I had the same error when I tried to open a CSV file by pandas.read_csv method.
pandas.read_csv
The solution was change the encoding to latin-1:
latin-1
pd.read_csv('ml-100k/u.item', sep='|', names=m_cols , encoding='latin-1')