apache / apache/beam

GroupBy.describe generates an incorrect proxy

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

Description

Root cause is https://github.com/pandas-dev/pandas/issues/41575

In the Series groupby case proxy generation raises an error. In the DataFrame case it produces a Series, when it should produce a DataFrame with the expected columns.

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

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked pandas issue 41575 and reproducing GroupBy.describe for both Series and DataFrame cases. Done means Series groupby proxy generation no longer raises an error, while the DataFrame case returns a DataFrame with the expected columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, python
Domain
data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.