Skip to content

BUG: nullable groupby result dtypes #46197

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

Merged
merged 2 commits into from
Mar 5, 2022

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Mar 2, 2022

  • closes #xxxx (Replace xxxx with the Github issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

to match the corresponding non-nullable behavior.

@jreback jreback added the NA - MaskedArrays Related to pd.NA and nullable extension arrays label Mar 2, 2022
@jbrockmendel
Copy link
Member Author

greenish ex the asv broken by #46193

@jreback jreback added this to the 1.5 milestone Mar 4, 2022

return BooleanDtype()
elif dtype.kind in ["i", "u"]:
from pandas.core.arrays.integer import INT_STR_TO_DTYPE
Copy link
Contributor

Choose a reason for hiding this comment

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

ashame you have to do these imports ......

Copy link
Member Author

Choose a reason for hiding this comment

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

yah im vaguely hoping to get rid of all these and just have MaskedArray/MaskedDtype, but that's a long ways away at best

@jreback jreback merged commit 9303302 into pandas-dev:main Mar 5, 2022
@jbrockmendel jbrockmendel deleted the bug-gb-nullable-dtypes branch March 5, 2022 02:44
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NA - MaskedArrays Related to pd.NA and nullable extension arrays
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants