Error handling ñ in pandas
问题 I am writing a script that reads a csv file and uses the pandas library to create a pivot table. I keep receiving an error ('utf-8' codec can't decode byte 0xf1 in position 6: invalid continuation byte) that I have linked back to the use of 'ñ' in one of the names in the csv file. I have searched for hours trying to find a way to handle this. I have tried including the encoding type in my pandas.read_csv and have had no luck. Here is my code: df = pandas.read_csv( os.path.join(wd,'Birthday_%s