-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Unclear message regarding param validation #26897
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
Comments
The issue was that the splitter was returning a |
I don't find it that confusing given that it's kind of an internal error. It's raised by a private function so it's up to us to provide appropriate params and I find that the error describes well the type of allowed column keys. The phrasing could probably be improved a bit though. What I find confusing is that the docstring says |
I agree that supporting |
The missing info there is the problematic type because we don't know at a first glance what it is. |
It was particularly confusing since from the script I pasted here, I had no idea which part is causing the issue. It'd be nice to have a hint of what method / class is causing it, and what the actual given type is. |
In the context of #26896 I wrote a test and got a message which I'm really puzzled about. The error message says:
ValueError: No valid specification of the columns. Only a scalar, list or slice of all integers or all strings, or boolean mask is allowed
This is the code, and the error message:
And the error message:
cc @jeremiedbb
The text was updated successfully, but these errors were encountered: