Skip to content

Commit ec1a300

Browse files
committed
Some code has been replaced.
1 parent 884c6cd commit ec1a300

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/io/parsers.py

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

25642564
while cur_count > 0:
25652565
counts[col] = cur_count + 1
2566-
col = u'{column}.{count}'.format(
2567-
column=col, count=cur_count)
2566+
col = "%s.%d" % (col, cur_count)
25682567
cur_count = counts[col]
25692568

25702569
this_columns[i] = col

0 commit comments

Comments
 (0)