Skip to content

DOC Ensure that sklearn.utils.is_scalar_nan passes numpydoc validation#24562

Merged
glemaitre merged 3 commits intoscikit-learn:mainfrom
rjuer:fix-docstring-isscalarnan
Oct 3, 2022
Merged

DOC Ensure that sklearn.utils.is_scalar_nan passes numpydoc validation#24562
glemaitre merged 3 commits intoscikit-learn:mainfrom
rjuer:fix-docstring-isscalarnan

Conversation

@rjuer
Copy link
Copy Markdown
Contributor

@rjuer rjuer commented Oct 2, 2022

Reference Issues/PRs

Addresses #21350

What does this implement/fix? Explain your changes.

Adds parameter and return value descriptions

Copy link
Copy Markdown
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

Our convention is to use the Python type. While it is passing the numpydoc, we can make the change in the same PR.

@glemaitre
Copy link
Copy Markdown
Member

I merge the changes since this is a really small change.
I will merge this PR then since it is ready.
Thanks @rjuer

@glemaitre glemaitre merged commit 0c22fa1 into scikit-learn:main Oct 3, 2022
thomasjpfan pushed a commit to thomasjpfan/scikit-learn that referenced this pull request Oct 9, 2022
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Oct 31, 2022
scikit-learn#24562)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
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.

2 participants