-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
POC: add closed argument to IndexSlice #27209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I'm continuing at the moment as this looks promising. This implementation requires a early days, but using the IndexSlice implementation should facilitate testing of the addition of these closed arguments. even if the alternative closed slices are not made public, having closed arguments to the slicing methods/functions may prove useful for internal use (but not investigated that yet)
This alternative can also be used with
applies to any indexer that takes one or more slices and should be 100% non-breaking.
cleaner from a code perspective... but open to suggestions for alternative api designs. |
a simpler api that would still resuse some of the work done here could be |
@simonjayhawkins I think an even better way of doing this (not quite as flexible) is that
|
@jreback that sounds better. This PR is effectively in two parts. pass a IndexSlice until a slice method is reached and then pass on the slice and the closed argument thereafter. the first part could easily be changed. for the second part, a |
Thanks for explaining, I think then I misunderstood your intentions. Absolutely, there needs to be a low-level API to back |
closing for now |
alternative to #27060 for consideration.
implementation is far from complete.
only the following cases have been implemented to start..