apache / apache/beam

DataFrame groupby does not support Grouper objects

Open
#21,594 0 comments 0 reactions 0 assignees View on GitHub
bug dataframe P2
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

pandas has the concept of a [Grouper](https://pandas.pydata.org/docs/reference/api/pandas.Grouper.html), which can be passed to groupby to provide additional metadata. Currently we don't support these in the DataFrame API, we assume all arguments are just labels.

We should explicitly reject these for now, then add support for them.

Imported from Jira [BEAM-14162](https://issues.apache.org/jira/browse/BEAM-14162). Original Jira may contain additional context.
Reported by: bhulette.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.