Encoding csv error with Pandas - have to encode one csv file but not the other -both have same encoding
That just means that one of the files has a character outside the range 0x00 to 0x7F.  It's only the highest 128 values where the encoding makes a difference.  All it takes is one n-with-tilde or one smart quote mark.
I am using pandas to read in csv data to my python script.
Both csv files have the same encoding (Windows-1252).
However with one of the files I get an error when reading the csv file with pandas, unless I specify the encoding parameters in pd.read_csv().
Does anyone know why I need to specify the encoding in one csv and not the other? Both csv's contain similar data (strings and numbers).
Thank you