Skip to content

Commit

Permalink
Reassign dataframe after dropping extra columns (#233)
Browse files Browse the repository at this point in the history
Small bug introduced by refactoring after testing #226
  • Loading branch information
RobbeSneyders committed Jun 26, 2023
1 parent 309a886 commit 6ef449c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fondant/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def wrapped_transform(self, dataframe: pd.DataFrame) -> pd.DataFrame:
)
dataframe = self.transform(dataframe)
# Drop columns not in the produces section of the component spec
dataframe.drop(
dataframe = dataframe.drop(
columns=[
(subset, field)
for (subset, field) in dataframe.columns
Expand Down

0 comments on commit 6ef449c

Please sign in to comment.