Skip to content

Commit

Permalink
Reassign dataframe after dropping extra columns
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeSneyders committed Jun 23, 2023
1 parent 309a886 commit 4442188
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 4442188

Please sign in to comment.