You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2021/01/28 21:20:00 UTC
[jira] [Created] (BEAM-11710) groupby cannot aggregate grouped
column
Brian Hulette created BEAM-11710:
------------------------------------
Summary: 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
Reporter: Brian Hulette
Assignee: Brian Hulette
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)