File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -733,11 +733,6 @@ def _stringify(col, encoding='UTF8'):
733
733
pass
734
734
return console_encode (col )
735
735
736
- def _stringify_seq (values ):
737
- if any (isinstance (x , unicode ) for x in values ):
738
- return [_stringify (x ) for x in values ]
739
- return [str (x ) for x in values ]
740
-
741
736
def _maybe_make_list (obj ):
742
737
if obj is not None and not isinstance (obj , (tuple , list )):
743
738
return [obj ]
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ def format(self, name=False):
400
400
values = lib .maybe_convert_objects (values , safe = 1 )
401
401
402
402
if values .dtype == np .object_ :
403
- result = com ._stringify_seq ( values )
403
+ result = [ com .pprint_thing ( x ) for x in values ]
404
404
else :
405
405
result = _trim_front (format_array (values , None , justify = 'left' ))
406
406
return header + result
You can’t perform that action at this time.
0 commit comments