Skip to content

FIX raise a ValueError with axis=1 and list input in _safe_indexing - #28222

Merged
OmarManzoor merged 2 commits into
scikit-learn:mainfrom
glemaitre:bug_safe_indexing_list
Jan 25, 2024
Merged

FIX raise a ValueError with axis=1 and list input in _safe_indexing#28222
OmarManzoor merged 2 commits into
scikit-learn:mainfrom
glemaitre:bug_safe_indexing_list

Conversation

@glemaitre

Copy link
Copy Markdown
Member

Just found out that we don't raise an error. However, we documented that we don't support this case. It was silently returning a wrong results.

@glemaitre glemaitre added this to the 1.4.1 milestone Jan 22, 2024
@github-actions

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: bcf9cb2. Link to the linter CI: here

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks @glemaitre

@OmarManzoor
OmarManzoor merged commit 2c2b3d4 into scikit-learn:main Jan 25, 2024
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Feb 10, 2024
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Feb 13, 2024
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