Skip to content

DOC Ensures that function passes numpydoc validation: column_or_1d function#21591

Merged
jjerphan merged 8 commits intoscikit-learn:mainfrom
reshamas:valid_column
Nov 15, 2021
Merged

DOC Ensures that function passes numpydoc validation: column_or_1d function#21591
jjerphan merged 8 commits intoscikit-learn:mainfrom
reshamas:valid_column

Conversation

@reshamas
Copy link
Copy Markdown
Member

@reshamas reshamas commented Nov 7, 2021

Reference Issues/PRs

Addresses #21350.
References #21519 (resubmitting PR after fix git issues.)

What does this implement/fix? Explain your changes.

Updates docstring in function to fix numpydoc errors.

Any other comments?

#DataUmbrella sprint

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.

I think that we can add the Raises section here.

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
"sklearn.utils.validation.check_memory",
"sklearn.utils.validation.check_random_state",
"sklearn.utils.validation.column_or_1d",
# "sklearn.utils.validation.column_or_1d",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@reshamas could you remove this line instead of commenting

Copy link
Copy Markdown
Member

@jjerphan jjerphan left a comment

Choose a reason for hiding this comment

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

Thank you, @reshamas.

Edit: to merge this PR, I added a commit to resolve a conflict introduced when merging #21590.

@jjerphan jjerphan merged commit 6077d52 into scikit-learn:main Nov 15, 2021
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Nov 22, 2021
…nction (scikit-learn#21591)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Nov 29, 2021
…nction (scikit-learn#21591)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
samronsin pushed a commit to samronsin/scikit-learn that referenced this pull request Nov 30, 2021
…nction (scikit-learn#21591)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Dec 24, 2021
…nction (scikit-learn#21591)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
glemaitre added a commit that referenced this pull request Dec 25, 2021
…nction (#21591)

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

3 participants