Writing a pandas DataFrame to CSV file

I have a dataframe in pandas which I would like to write to a CSV file. I am doing this using: df.to_csv(‘out.csv’) And getting the following error: UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u03b1′ in position 20: ordinal not in range(128) Is there any way to get around this easily (i.e. I have unicode characters … Read more