I was recently trying to get a count of true and false values in a column of my data frame and received ArgumentError: comparison of Array with Array failed when I tried to run group_by using only that column. I thought this might be something with my data set but the below example reproduces the error.
I believe it is due to the fact that currently group_by for some reason sorts groups, and booleans can't be compared with <=>.
This redesign ticket is somehow related: https://github.com/SciRuby/daru/issues/152
I was recently trying to get a count of true and false values in a column of my data frame and received
ArgumentError: comparison of Array with Array failed
when I tried to run group_by using only that column. I thought this might be something with my data set but the below example reproduces the error.