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
See also #1460. I don't think we should omit the key columns by default, as they are needed most of the time (I would say). Can you check what Pandas does? But adding an argument is OK.
I seem to recall that at some point we had discussed and agreed that
by(identity, df, cols)
where
cols
is any subset ofnames(df)
should returndf
up to an ordering ambiguity.Currently this is not the case since the key columns are appended after the group by operation.
Do we indeed agree that this should change? Would you accept a PR?
I seem to recall that pandas does what I'm suggesting, but I don't remember for sure and haven't checked.
The text was updated successfully, but these errors were encountered: