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

breaking: drop rows with null targets when dropna=False #447

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

jmoralez
Copy link
Member

@jmoralez jmoralez commented Nov 12, 2024

Description

Even when dropna=False we shouldn't keep rows where the targets are nulls, which can happen when we apply target transformations that produce nulls, like Differences. This ensures that we always drop them.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jmoralez jmoralez added the fix label Nov 12, 2024
Copy link

codspeed-hq bot commented Nov 12, 2024

CodSpeed Performance Report

Merging #447 will not alter performance

Comparing drop-null-targets (9a48523) with main (e9b8c64)

Summary

✅ 12 untouched benchmarks

@jmoralez jmoralez marked this pull request as ready for review November 12, 2024 17:50
@jmoralez jmoralez changed the title fix: drop rows with null targets when dropna=False breaking: drop rows with null targets when dropna=False Nov 12, 2024
@jmoralez jmoralez merged commit ca67b98 into main Nov 12, 2024
23 checks passed
@jmoralez jmoralez deleted the drop-null-targets branch November 12, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant