Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: groupby rank supports object dtype #41498

Merged
merged 1 commit into from
May 17, 2021

Conversation

mzeitlin11
Copy link
Member

This was fixed way back in #38744 and looks thoroughly tested in #41387, so just a whatsnew here.

I think the other string types could also be supported with tweaks to ea_wrap_cython_operation to pull object data out of those types if we want to support those too.

Copy link
Member

@jbrockmendel jbrockmendel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simonjayhawkins simonjayhawkins added this to the 1.3 milestone May 17, 2021
@jreback jreback merged commit f7253ba into pandas-dev:master May 17, 2021
@jreback
Copy link
Contributor

jreback commented May 17, 2021

thanks @mzeitlin11

@mzeitlin11 mzeitlin11 deleted the gb_rank_object branch May 17, 2021 13:27
TLouf pushed a commit to TLouf/pandas that referenced this pull request Jun 1, 2021
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: DataError: No numeric types to aggregate on pandas.core.groupby.GroupBy.rank¶
5 participants