BUG: pandas 1.5 fails to groupby on (nullable) Int64 column with dropna=False #48794
Closed
2 of 3 tasks
Labels
Bug
Groupby
NA - MaskedArrays
Related to pd.NA and nullable extension arrays
Regression
Functionality that used to work in a prior pandas version
Milestone
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
Attempting to run
df.groupby()
with anInt64Dtype
column (nullable integers) no longer works as of Pandas 1.5.0. Seems to be caused by #46601, and I'm unsure if the patch at #48702 fixes this issue.Expected Behavior
Groupby shouldn't throw, and behave the same as on Pandas 1.4.
Installed Versions
The text was updated successfully, but these errors were encountered: