Skip to content
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

ENH Improve column_or_1d error message #15926

Merged

Conversation

lesteve
Copy link
Member

@lesteve lesteve commented Dec 19, 2019

My experience is that it is generally a good idea to state the expectation explicitly in the error message. Feel free to suggest a better error message.

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

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

Thanks @lesteve !

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM! Should this have a whats new entry in 0.23 under Enhancement?

@lesteve
Copy link
Member Author

lesteve commented Dec 20, 2019

Whats new entry added.

@lesteve lesteve closed this Dec 20, 2019
@lesteve lesteve reopened this Dec 20, 2019
@lesteve
Copy link
Member Author

lesteve commented Dec 20, 2019

Sorry misclick for the close/open

@thomasjpfan thomasjpfan changed the title [MRG] Improve column_or_1d error message ENH Improve column_or_1d error message Dec 20, 2019
@thomasjpfan thomasjpfan merged commit 9626583 into scikit-learn:master Dec 20, 2019
@thomasjpfan
Copy link
Member

Thank you @lesteve !

@lesteve lesteve deleted the improve-error-message-column-or-1d branch December 20, 2019 16:25
panpiort8 pushed a commit to panpiort8/scikit-learn that referenced this pull request Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants