I want to write a pandas data frame to a CSV file.
I tried to do it using:
df.to_csv('out.csv')
But I am getting this error:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u03b1' in position 20: ordinal not in range(128)
My question is can I write to a tab-delimited file instead of a CSV using e.g. a 'to-tab' method (that I don't think exists)?