Error in reading u.item file

I tried reading u.item file as:

  • pd.read_csv(pd.read_csv('./ml-100k/u.item', sep='\|', header=None)

  • I got decoding error. Iresolved the issue by passing argument encoding="Latin-1"

  • However I am curious to know what might be the error in the above decoding. I tried bu restarting the kernel also. That didn’t worked.