BUG: groupby doesn't identify null values when sort=False #48506
Labels
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
Bug
Groupby
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Regression
Functionality that used to work in a prior pandas version
Milestone
Closely related to #48476
As far as I can tell this only occurs when the input dtype to groupby is object.
but with
sort=False
:I think we should prefer the
sort=True
behavior as that is the default value for now, but prefersort=False
in the long run.The text was updated successfully, but these errors were encountered: