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

feat: raise value error for shape mismatch #730

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

FBruzzesi
Copy link
Collaborator

Description

I was the one causing the issue in narwhals: we now raise a dedicated error for length mismatch in with_columns, while scikit-learn expects a ValueError instead. I am adding a preventive check to comply with that.

Copy link
Owner

@koaning koaning left a comment

Choose a reason for hiding this comment

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

Seems fine on my end!

@koaning koaning merged commit 9c53551 into main Jan 17, 2025
15 checks passed
@koaning koaning deleted the feat/raise-value-error-for-shape-mismatch branch January 17, 2025 14:06
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.

2 participants