-
Notifications
You must be signed in to change notification settings - Fork 991
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
Count by list columns #1597
Comments
Yeah, pretty sure it's not supported. You cannot join on list columns either. |
I understand support may be difficult / not worthwhile (comparing and indexing lists must be much more time-consuming than comparing vectors)... worth having out there as a FR though! |
I'm not sure count-by-list is quite properly defined since list comparison is undefined in R:
Although |
I think we can safely close this issue, as ordering of list column is undefined operation. |
for the record, it's possible to ordering is not defined but distinctness can be defined (e.g. That said, it would require a pretty big upheaval of our backend (?i think? from sort-then-group to sometimes-sort/sometimes-hash) to accommodate this use case & there doesn't appear to be much demand. So happy to leave closed |
As a (potentially slow) workaround one can hash the elements of the list column, use the hash in
|
Perhaps this is intentional, but it seems to me a more natural solution to this question on SO would be:
But if we try and use the
list
column inby
we get an error:As cryptic as this error is, I think
by
is having trouble identifying unique lists (perhaps this is by design).Is there no way to do use a
list
column inby
?The text was updated successfully, but these errors were encountered: