Skip to content

BUG: series tidy_repr UnicodeDecodeError #2225

Closed
@ghost

Description

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions