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
[MRG] API kwonly for utils #17046
[MRG] API kwonly for utils #17046
Conversation
@adrinjalali @rth this one is the same as #17007 which you approved before, up to some fixes that weren't caught before API-wise it's strictly the same |
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! I think we should allow positional accept_sparse
in check array to avoid breaking contrib projects too much. See how many time you had to change it in scikit-learn, and each of those was clear enough to pass through review.
Otherwise LGTM.
Thanks for the review OK, it's allowed to be positional (If you're OK I'll leave the changes as-is though, i.e. using |
Yes, sure it's fine. Thanks! |
easy one @thomasjpfan @adrinjalali @glemaitre ? |
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 @NicolasHug
* kwonly for utils * More * fixed some * some more * iwannagohomepls * accept_sparse not kwonly anymore
* kwonly for utils * More * fixed some * some more * iwannagohomepls * accept_sparse not kwonly anymore
Towards #15005