From f15ff39090bcffaa536bfb853a012aec42dd421e Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 15 Jun 2020 20:02:20 +0200 Subject: [PATCH] Fix reverse_coordinates functionality --- app/preprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/preprocessing.py b/app/preprocessing.py index 02295d7..795b431 100644 --- a/app/preprocessing.py +++ b/app/preprocessing.py @@ -19,7 +19,7 @@ def reverse_coordinates(row): """ Reverses each tuples coordinates to ensure folium can parse them correctly """ - coord = [tuple(reversed(t)) for t in row["fields.geo_shape.coordinates"]] + coord = [tuple(reversed(t)) for t in row] return coord