Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: series tidy_repr UnicodeDecodeError #2225

Closed
ghost opened this issue Nov 11, 2012 · 0 comments · Fixed by #2224
Closed

BUG: series tidy_repr UnicodeDecodeError #2225

ghost opened this issue Nov 11, 2012 · 0 comments · Fixed by #2224
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Nov 11, 2012

a=pd.Series([u"\u05d0"]*1000)
a.name= 'title1'
repr(a)

pandas/pandas/core/series.py in _tidy_repr(self, max_vals)
    869                                                   name=False)
    870         result = head + '\n...\n' + tail
--> 871         return '%s\n%s' % (result, self._repr_footer())
    872 
    873     def _repr_footer(self):

UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 6: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant