Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert change about filtering dataframes #417

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Conversation

fhenneke
Copy link
Collaborator

@fhenneke fhenneke commented Nov 5, 2024

This PR reverts a change introduces in #407. The PR introduced a somewhat unrelated change to filter duplicate columns from data frames before merging.

In local testing it seems that the data frames do not actually contain such columns. Thus, the somewhat difficult to read code fragment does not have any effect.

If the code is indeed required, I would suggest restructuring it for clarity.

If it is important that this column only appears in one data frame, one could add a check to validate_df_columns.

columns of some of the dataframes seem to be filtered before merging.
in testing, the data frames did not actually contain columns of that form.
instead of having this unnecessary and confusing code, an assert could be added to the
dataframe validation a few lines before the merge.
@harisang harisang merged commit a4e9be6 into main Nov 8, 2024
5 checks passed
@harisang harisang deleted the revert_dataframe_filtering branch November 8, 2024 00:45
@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants