Skip to content

Commit a80712c

Browse files
committed
Use literal unicode string
1 parent f04898c commit a80712c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/parsers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2563,8 +2563,8 @@ def _infer_columns(self):
25632563

25642564
while cur_count > 0:
25652565
counts[col] = cur_count + 1
2566-
col = '{column!s}.{count}'.format(
2567-
column=col, count=cur_count)
2566+
col = '{column}.{count}'.format(
2567+
column=u''.join(col), count=cur_count)
25682568
cur_count = counts[col]
25692569

25702570
this_columns[i] = col

0 commit comments

Comments
 (0)