How do we know which encoding type (latin1, utf-8 etc.) to use with what type of csv file? I have a csv file that has numbers, and column titles in English, and when I used latin1 as my encoder:
pandas.read_csv("Data.csv",encoding='latin1')
the file was read correctly. I just want to know how do we determine which encoding type to use as I had to get my code to work by trial and error.