Expand Series.between() function with only left/right inclusive #36768
Labels
Duplicate Report
Duplicate issue or pull request
Enhancement
Indexing
Related to indexing on series/frames, not to indexes themselves
pandas/pandas/core/series.py
Lines 4690 to 4763 in 2a7d332
This is my first post, I hope this is conform the contributing guidelines and code of conduct.
The code for between has a variable 'inclusive' which makes a difference if the left and right value should be taken into account. Difference between < and <= for example.
My suggestion is to extend the function between a bit. Sometimes you just want to include the left value and exclude the right value. Or the way arround.
This change is possible in many ways. One example is:
The text was updated successfully, but these errors were encountered: