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
{{ message }}
Repository navigation
Dataframe groupby()[column].agg fails with AttributeError #3438
Confirmed. Thank you for the excellent bug report @joergdietrich .
The solution to this seems straightforward; we should only do this transformation when the result object is a DataFrame rather than a Series. Do you have any interest in submitting this as a pull request? Most of the work is already done with your excellent test case above.
Activity
mrocklin commentedon Apr 25, 2018
Confirmed. Thank you for the excellent bug report @joergdietrich .
The solution to this seems straightforward; we should only do this transformation when the result object is a DataFrame rather than a Series. Do you have any interest in submitting this as a pull request? Most of the work is already done with your excellent test case above.