Skip to content

Commit

Permalink
Add back index
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Aug 6, 2024
1 parent 34e9097 commit 75eaf93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/cuspatial/cuspatial/core/geodataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ def _gather(self, gather_map: GatherMap, keep_index=True):
for geo in geo_data.keys()
}
geo_gathered = GeoDataFrame(gathered)
# _gather may have discarded the index, so re-add
cudf_gathered.index = geo_gathered.index

# combine
return GeoDataFrame._from_data(
Expand Down

0 comments on commit 75eaf93

Please sign in to comment.