-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: now mode returns a list #396
fix: now mode returns a list #396
Conversation
changed in imputer that the first element of the list is taken but maybe we want to change this adjusted tests and fixed test_summary
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
### Summary of Changes Fixed the visualization tutorial with discussed changes from #380 as well as 3 of the bullet points from #381 (namely summary header, summary all string and heatmap color scheme). --------- Co-authored-by: SmiteDeluxe <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #396 +/- ##
==========================================
+ Coverage 80.76% 80.77% +0.01%
==========================================
Files 180 180
Lines 6399 6403 +4
Branches 1293 1293
==========================================
+ Hits 5168 5172 +4
Misses 856 856
Partials 375 375
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@lars-reimann right now the Imputer just takes the first elements of the mode list, should we change it? |
For now, I would raise an exception in this case. The user can then use the |
…occur-as-often-as-the-most-common-value
…occur-as-often-as-the-most-common-value
Closes #395 .
Summary of Changes
now mode returns a list of the most common elements
changed in imputer that the first element of the list is taken but maybe we want to change this
adjusted tests and fixed test_summary