-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
New Interval / IntervalIndex behavior spec #16386
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
Merged
Merged
Changes from 52 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
18c76f4
new interval and intervalIndex behavior spec
ddc508c
moved tests from indexing to indexes, and added new tests
a1c3e7a
first pass at @shoyer's review
557d701
quick update comments
7d28038
another quick pass
ff1fbf2
sanity check
aadfdcd
fixed one little issue.
c7f6fb8
fixed most of @jorisvandenbossche's review
1379b08
worked on 'contains'
80ebeb3
remove covers and overlaps -- to be added to a separate PR
fef3187
take back changes involving .contains() and __contains__
e3a12fa
some updates discussed
06a2835
quick thought...
08bd9e4
tiny update
6381744
An update to get_indexer behavior
b346af7
update slice locs behavior
ccd23aa
remove tests flagged for removal.
ac818f9
left side of interval must be <= right side
4a10007
move to throwing errors for slice locs with overlapping stuff
e549c3d
compress test cases
d5a8287
Change to InvalidIndexError
0e50729
compressing tests even more
2c953b6
some lint issues
08d315c
I believe all the test cases are complete.
9f905a8
autopep
e1eeb59
more pep8
4c54f33
remove some stuff
ca04cb2
tiny update
bfaefef
update get_indexer_non_unique tests
ce5074a
autopep
4c5496e
hopefully this is valid python
33938d6
Merge remote-tracking branch 'pandas-dev/master'
7f4c5e5
a couple updates, and a bug fix
0aaaddf
oops
a44c926
fix some lint issues
4cef040
start working on the review
66486d0
fix some slice-locs stuff
c0dfef8
lint issues mostly
5301dd5
try to satisfy pep
57c9ba7
for some reason that didn't make PEP happy
4cbbf2d
pep
6126662
parameterize and add a couple comments.
dc00af6
hopefully this works.
604d48d
Merge remote-tracking branch 'pandas-dev/master'
10c9177
fix merge conflicts
c8be3e6
parametrize a little bit more
jorisvandenbossche 93f1742
remove _updated_behaviour from test name + PEP8 (unused imports)
jorisvandenbossche 3464883
update loc tests
jorisvandenbossche 06484f5
Merge branch 'master' into master
alexlenail e82ae33
update comments
6834c9a
Merge remote-tracking branch 'origin/master'
33ebe1b
worked on parameterization
be050d6
move xfails to top of module
1cc8004
minor update for pep
930da2b
more for pep
2e01d28
fix mistake
5c000a0
might have messed up a function signature during a previous merge. Se…
96c978a
formatting, potentially last bug
ae03d01
Merge branch 'master' into PR_TOOL_MERGE_PR_16386
jreback 518d16e
skip interval_new tests
jreback f530637
lint
jreback d90d310
Merge branch 'master' into PR_TOOL_MERGE_PR_16386
jreback acefcb0
Merge branch 'master' into PR_TOOL_MERGE_PR_16386
jreback File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to the extent you are adding new tests that are xfailing, but let's these these where they are for now.
actually let's put all of your new tests in a new file, its going to be much more obvious. This way all existing behavior is preserved (as we have not changed anything).
You can certainly mark existing tests (maybe with a comment), that this is going to change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was the way I had it before, but @jorisvandenbossche (I believe it was you?) asked that I remove the current tests instead. I'm happy to go back to what I had before, but please settle this amongst yourselves so we don't revert a third time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was not me who asked, but that doesn't matter anymore. I think we agree now to go this route. I don't think you should 'go back to what you had before', I think you should be able to just revert that single commit where you removed them to get them back.