BUG: Empty result in df.groupby.agg on multiple keys has no columns #39809
Labels
API - Consistency
Internal Consistency of API/Behavior
Apply
Apply, Aggregate, Transform, Map
Bug
Groupby
Comparing:
gives:
This is due to taking two different paths through agg - when
nkeys > 1
, using_python_agg_general
and otherwise usingGroupByApply.agg
.The text was updated successfully, but these errors were encountered: