You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 19:11:49 UTC

[GitHub] [beam] damccorm opened a new issue, #20762: groupby cannot aggregate grouped column

damccorm opened a new issue, #20762:
URL: https://github.com/apache/beam/issues/20762

   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()
   
   Imported from Jira [BEAM-11710](https://issues.apache.org/jira/browse/BEAM-11710). Original Jira may contain additional context.
   Reported by: bhulette.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] groupby cannot aggregate grouped column [beam]

Posted by "prakhar-dhakar (via GitHub)" <gi...@apache.org>.
prakhar-dhakar commented on issue #20762:
URL: https://github.com/apache/beam/issues/20762#issuecomment-2058771770

   Is there any timeline as to when this can be completed?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] groupby cannot aggregate grouped column [beam]

Posted by "damccorm (via GitHub)" <gi...@apache.org>.
damccorm commented on issue #20762:
URL: https://github.com/apache/beam/issues/20762#issuecomment-2059151859

   I don't think anyone is actively looking at improving this right now; contributions here are welcome though :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org