Open antonioalegria opened 9 months ago
I'll grant you the error is a bit cryptic but if we set that aside for a moment, under the scenario where it doesn't raise an error, what would you expect it to return?
I think raising an error is fine. It could also not raise an error and yield the same result as False. Though that would have to be consistent with other equivalent operations in polars (I don't know enough to say right now).
Just for reference, the error arose from the discussion here:
Checks
Reproducible example
Log output
Issue description
The error message is too cryptic. Actually this should either not result in an error or it should give a more explicit error for the arguments of all_horizontal
Expected behavior
Either not raise an error, and yield False, or raise a more explanatory error.
Installed versions