From 6e4ea093e5422c9048efdea4bc40f2edf24ff99f Mon Sep 17 00:00:00 2001 From: Matthew Perry Date: Sun, 20 Jul 2014 13:54:02 -0700 Subject: [PATCH] ordinals in format for sake of py2.6 --- geopandas/tools/overlay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geopandas/tools/overlay.py b/geopandas/tools/overlay.py index 2794a55..e66ac9e 100644 --- a/geopandas/tools/overlay.py +++ b/geopandas/tools/overlay.py @@ -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