Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve Index and grouped columns in
Groupby.nth
(#13442)
In pandas-2.0 `groupby.nth` behavior has changed: https://pandas.pydata.org/docs/whatsnew/v2.0.0.html#dataframegroupby-nth-and-seriesgroupby-nth-now-behave-as-filtrations This PR enables preserving the callers index in the end result and returns grouping columns as part of the result. This PR fixes all 12 pytests in `python/cudf/cudf/tests/test_groupby.py::test_groupby_nth`
- Loading branch information