mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-09 11:22:50 +08:00
ordinals in format for sake of py2.6
This commit is contained in:
@@ -11,7 +11,7 @@ def _uniquify(columns):
|
||||
newcol = col
|
||||
while newcol in ucols:
|
||||
inc += 1
|
||||
newcol = "{}_{}".format(col, inc)
|
||||
newcol = "{0}_{1}".format(col, inc)
|
||||
ucols.append(newcol)
|
||||
return ucols
|
||||
|
||||
|
||||
Reference in New Issue
Block a user