Skip to content

Commit 971fe3d

Browse files
committed
Fix DataFrame mutation bug
1 parent f8c007f commit 971fe3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bedrock_ge/gi/mapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def map_to_brgi_db(brgi_db_mapping: BedrockGIMapping) -> BedrockGIDatabase:
204204
other_tables = {}
205205
if brgi_db_mapping.Other:
206206
for other_table_mapping in brgi_db_mapping.Other:
207-
other_table_df = other_table_mapping.data
207+
other_table_df = other_table_mapping.data.copy()
208208
other_table_df.insert(0, "project_uid", project_uid)
209209
other_tables[other_table_mapping.table_name] = other_table_df
210210

0 commit comments

Comments
 (0)