Pandas - Writing an excel file containing unicode - IllegalCharacterError

I have the following code: import pandas as pd x = [u'string with some unicode: \x16'] df = pd.DataFrame(x) If I try to write this dataframe as an excel file: df.to_excel("test.xlsx") Or, if I...