From 5b37270d5c5e15e19ae8f8fe2d814d121c7311fd Mon Sep 17 00:00:00 2001 From: vikineema Date: Tue, 31 Oct 2023 22:21:21 +0300 Subject: [PATCH] fix index --- deafrica_conflux/group_polygons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deafrica_conflux/group_polygons.py b/deafrica_conflux/group_polygons.py index c18302ff..37ccb752 100644 --- a/deafrica_conflux/group_polygons.py +++ b/deafrica_conflux/group_polygons.py @@ -114,7 +114,7 @@ def split_polygons_by_region( # Filter to remove regions with no intersecting polygons. filtered_regions = [region for region in regions_ if region.iloc[0].intersecting_polygons_ids] - filtered_regions_gdf = pd.concat(filtered_regions, ignore_index=True) + filtered_regions_gdf = pd.concat(filtered_regions, ignore_index=False) if not check_dir_exists(output_directory): if check_if_s3_uri(output_directory):