GroupBy nth ignores observed keyword for Categorical #26385
Labels
Categorical
Categorical Data Type
Groupby
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Milestone
Was looking to consolidate nth, first and last in the GroupBy world but was hitting some issues with categorical tests and handling of missing data. Note that the following calls are not equivalent, though they should be:
The text was updated successfully, but these errors were encountered: