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
It isn't obvious to me what you can do with df.groupby(axis=1) that you can't do with df.T.groupby(axis=0). In many cases we do the transpose under the hood anyway, so it isn't saving much/anything perf-wise.