Skip to content

Commit

Permalink
Create a new dataframe for map
Browse files Browse the repository at this point in the history
  • Loading branch information
sidjha1 committed Oct 3, 2024
1 parent 6057141 commit 50f8bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lotus/sem_ops/sem_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def __call__(
strategy=strategy,
)

new_df = self._obj
new_df = self._obj.copy()
new_df[suffix] = outputs
if return_explanations:
new_df["explanation" + suffix] = explanations
Expand Down

0 comments on commit 50f8bb0

Please sign in to comment.