You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Anonymous (Jira)" <ji...@apache.org> on 2024/04/16 09:32:00 UTC

[jira] [Updated] (BEAM-11710) groupby cannot aggregate grouped column

     [ https://issues.apache.org/jira/browse/BEAM-11710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anonymous updated BEAM-11710:
-----------------------------
    Status: Triage Needed  (was: Open)

> groupby cannot aggregate grouped column
> ---------------------------------------
>
>                 Key: BEAM-11710
>                 URL: https://issues.apache.org/jira/browse/BEAM-11710
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-dataframe, sdk-py-core
>    Affects Versions: 2.26.0, 2.27.0, 2.28.0
>            Reporter: Brian Hulette
>            Priority: P3
>              Labels: dataframe-api
>
> 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.20.10#820010)