title: Writing a pandas DataFrame to CSV file
body: <p>I have a dataframe in pandas which I would like to write to a CSV file.</p>
  <p>I am doing this using:</p>
  <pre><code>df.to_csv('out.csv')
  </code></pre>
  <p>And getting the following error:</p>
  <pre><code>UnicodeEncodeError: 'ascii' codec can't encode character u'\u03b1' in position 20: ordinal not in range(128)
  </code></pre>
  <ul>
  <li>Is there any way to get around this easily (i.e. I have unicode characters in my data frame)?</li>
  <li>And is there a way to write to a tab delimited file instead of a CSV using e.g. a 'to-tab' method (that I don't think exists)?</li>
  </ul>