You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#42947 added slice function arguments to groupby.nth(), but not Python slice index expressions.
I would like to be able to use Python slice notation as an alternative to the current function call.
e.g.
groupby.nth[b:e:s] to be the same as groupby.nth(slice(b, e, s)).
groupby.nth[a, b, c, ...] to be the same as groupby.nth([a, b, c, ...]).
API breaking implications
None. This is just syntactic sugar using existing functionality, and the existing API will not be changed.
Proposed Enhancement
#42947 added slice function arguments to groupby.nth(), but not Python slice index expressions.
I would like to be able to use Python slice notation as an alternative to the current function call.
e.g.
API breaking implications
None. This is just syntactic sugar using existing functionality, and the existing API will not be changed.
Current functionality
Current behavior
Desired behavior
The text was updated successfully, but these errors were encountered: