-
Notifications
You must be signed in to change notification settings - Fork 530
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
Remove classmethod of SimpleImputer #4439
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change. Let's see what CI gives, but should normally not cause any issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange... Looks like that was never intended to be a classmethod to begin with. It references self
and uses attributes that suggest self
is indeed the object, not the class. I'm surprised it hasn't already caused other issues.
Anyway, LGTM!
@gpucibot merge |
rerun tests |
This PR has been labeled |
rerun tests |
rerun tests |
Codecov Report
@@ Coverage Diff @@
## branch-22.04 #4439 +/- ##
===============================================
Coverage ? 84.90%
===============================================
Files ? 251
Lines ? 21649
Branches ? 0
===============================================
Hits ? 18380
Misses ? 3269
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Closes rapidsai#4341. The `classmethod` decorator seems to not be useful here and is blocking the serialization of SimpleImputer. Authors: - Micka (https://github.com/lowener) Approvers: - Victor Lafargue (https://github.com/viclafargue) - William Hicks (https://github.com/wphicks) URL: rapidsai#4439
Closes #4341.
The
classmethod
decorator seems to not be useful here and is blocking the serialization of SimpleImputer.