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