Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] allow inclusive/exclusive bounds in
get_slice
(#4483)
This PR adds two arguments to `get_slice` to allow exclusive/inclusive bounding at either and of the slice. The default of the two new arguments leads to current behaviour, so no deprecation is necessary. This will be useful as a utility, and also for fixing #3667
- Loading branch information
Showing
1 changed file
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters