Skip to content

Conversation

@MichaelTiemannOSC
Copy link
Contributor

Remove special test_groupby_agg_extension in test_json.py as we can now pass the test generally with these fixes to GroupBy.first and GroupBy.last.

Remove special `test_groupby_agg_extension` in `test_json.py` as we can now pass the test generally with these fixes to `GroupBy.first` and `GroupBy.last`.

Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
Fix sort order.

Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
@MichaelTiemannOSC
Copy link
Contributor Author

In the course of winnowing away unnecessary changes in a PR related to extension arrays, I found that this was one useful result of that work. I'm re-submitting as a fresh PR that specifically fixes a single reported bug, following guidance in that bug report, and what I've learned along the way.

@MichaelTiemannOSC MichaelTiemannOSC marked this pull request as ready for review July 27, 2023 03:53
Incorporate suggestions from @mroeschke (consolidating docs and fixing a malformed return statement).

Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>

Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
@mroeschke mroeschke added this to the 2.1 milestone Jul 28, 2023
@mroeschke mroeschke merged commit 6f419a8 into pandas-dev:main Jul 28, 2023
@mroeschke
Copy link
Member

Thanks @MichaelTiemannOSC

@MichaelTiemannOSC MichaelTiemannOSC deleted the Fix-GH#39098 branch July 29, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Groupby agg on decimal,json extension arrays changes dtype to object

2 participants