You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that siuba expects to put grouping columns on a summarize result by resetting the index. However, when group_keys is set to false, resetting the index fails.
# note no cyl on indexres026.663636019.742857015.100000
We should just have a grouped summarize set group_keys to true. It seems like we should also be checking whether any result columns have overridden grouping columns, and ensure that doesn't raise an error.
The text was updated successfully, but these errors were encountered:
machow
changed the title
pandas grouped summarize fails is group_keys is set to false
pandas grouped summarize fails if group_keys is set to false
Nov 15, 2022
Note that siuba expects to put grouping columns on a summarize result by resetting the index. However, when group_keys is set to false, resetting the index fails.
We should just have a grouped summarize set group_keys to true. It seems like we should also be checking whether any result columns have overridden grouping columns, and ensure that doesn't raise an error.
For example, this works in dplyr:
The text was updated successfully, but these errors were encountered: