pydata/pandas — Issue #891: DataFrame.to_html encoding
Author: lodagro
Created: 2012-03-09 14:15:05+00:00
State: open

see also [mailing list](https://groups.google.com/forum/?fromgroups#!topic/pystatsmodels/e5J1yvCGmmI)

```python
In [34]: df = pandas.DataFrame({'A': [u'\u03c3']})

In [35]: df
Out[35]:
A
0 σ

In [36]: print df.to_html()
---------------------------------------------------------------------------
UnicodeEncodeError Traceback (most recent call last)
...
UnicodeEncodeError: 'ascii' codec can't encode character u'\u03c3' in position 1: ordinal not in range(128)

In [37]:
```

```