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

edited mode imputed to work with all null columns when weights are pr… #201

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

limlam96
Copy link
Contributor

…ovided

Previously this was causing an error. slightly niche scenario that was exposed by running small synthetic data samples through, but worth fixing

Copy link
Contributor

@adamsardar adamsardar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. And a small PR that I'm happy to approve without revisions.

It opens a question of whether there is a number or fraction of entries that might be considered too small to estimate a replacement value and should therefore issue a warning too. Or should that be at least logged? One for #193?

@limlam96
Copy link
Contributor Author

Thanks! :)

Yeah good point, suppose ideal behaviour in that scenario is as you say to raise a warning and leave it to user discretion whether to drop/fix/continue

@limlam96 limlam96 merged commit 988d3ec into main Mar 27, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants