[
https://issues.apache.org/jira/browse/BEAM-11710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17292449#comment-17292449
]
Beam JIRA Bot commented on BEAM-11710:
--------------------------------------
This issue is assigned but has not received an update in 30 days so it has been
labeled "stale-assigned". If you are still working on the issue, please give an
update and remove the label. If you are no longer working on the issue, please
unassign so someone else may work on it. In 7 days the issue will be
automatically unassigned.
> groupby cannot aggregate grouped column
> ---------------------------------------
>
> Key: BEAM-11710
> URL: https://issues.apache.org/jira/browse/BEAM-11710
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Affects Versions: 2.26.0, 2.27.0, 2.28.0
> Reporter: Brian Hulette
> Assignee: Brian Hulette
> Priority: P2
> Labels: dataframe-api, stale-assigned
>
> pandas allows you to aggregate on the same column that you are grouping on.
> Attempting this in the Beam implementation results in an error.
> df.groupby('group')[['group', 'foo']].count()
--
This message was sent by Atlassian Jira
(v8.3.4#803005)