Skip to content

Conversation

@rhshadrach
Copy link
Member

  • 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 type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

cc @mroeschke - Still writing / cleaning up tests. sort=False still doesn't work, and I'm not sure if it could be made to. We'd like to insert the null value as the proper code in the order that it appears (e.g. 0 if the null value is first), but categorical assumes all categories are coded 0, ..., n-1. So not sure if this approach will ever work with sort=False at this point.

@mroeschke mroeschke added Groupby Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Categorical Categorical Data Type labels Oct 7, 2022
…ach/pandas into groupby_dropna_filtering � Conflicts: �	pandas/core/groupby/grouper.py �	pandas/tests/groupby/test_groupby_dropna.py
@rhshadrach rhshadrach closed this Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Categorical Categorical Data Type Groupby Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate

2 participants