-
-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
BUG: IntervalIndex.get_loc/get_indexer wrong return value / error #25090
Commits on Feb 2, 2019
-
Revert earlier change and use to_numpy
Revert pandas-dev#24048 change that caused bug.
Configuration menu - View commit details
-
Copy full SHA for 2aca389 - Browse repository at this point
Copy the full SHA 2aca389View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d12d2f - Browse repository at this point
Copy the full SHA 2d12d2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f357101 - Browse repository at this point
Copy the full SHA f357101View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cc4c37 - Browse repository at this point
Copy the full SHA 7cc4c37View commit details -
Add test for contains in interval index categorical
When tested with a variable that has the wrong dtype, this raises an exception instead of False
Configuration menu - View commit details
-
Copy full SHA for 8ec653a - Browse repository at this point
Copy the full SHA 8ec653aView commit details -
Check get_loc on interval index raises KeyError
When supplied a variable with the wrong type get_loc should raise a KeyError (not type error). Otherwise things like checking if a variable is in an index will fail.
Configuration menu - View commit details
-
Copy full SHA for 878802e - Browse repository at this point
Copy the full SHA 878802eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dabe0e - Browse repository at this point
Copy the full SHA 4dabe0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 564d88d - Browse repository at this point
Copy the full SHA 564d88dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4c43e3 - Browse repository at this point
Copy the full SHA f4c43e3View commit details -
This is enough for making the test pass but it's not the right implementation
Configuration menu - View commit details
-
Copy full SHA for a09a07e - Browse repository at this point
Copy the full SHA a09a07eView commit details
Commits on Feb 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6c887e6 - Browse repository at this point
Copy the full SHA 6c887e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a143f2 - Browse repository at this point
Copy the full SHA 0a143f2View commit details -
Rename, move and parametrize indexer test
Include some non-monotonic/overlapping IntervalIndex. This triggers another bug, due to the fact that self.get_loc(i) is called on an unexpected key.
Configuration menu - View commit details
-
Copy full SHA for 0730cd6 - Browse repository at this point
Copy the full SHA 0730cd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 246eb57 - Browse repository at this point
Copy the full SHA 246eb57View commit details
Commits on Feb 4, 2019
-
Refactor interval index get_loc test
Move the test from indexing/test_loc to index/interval/test_interval.
Configuration menu - View commit details
-
Copy full SHA for 93f75ea - Browse repository at this point
Copy the full SHA 93f75eaView commit details -
Fix bug introduced in earlier commit
target was missing from call to _find_non_overlapping_monotonic_bounds
Configuration menu - View commit details
-
Copy full SHA for 268db81 - Browse repository at this point
Copy the full SHA 268db81View commit details
Commits on Feb 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a5aa1e8 - Browse repository at this point
Copy the full SHA a5aa1e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d480872 - Browse repository at this point
Copy the full SHA d480872View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ed1080 - Browse repository at this point
Copy the full SHA 6ed1080View commit details -
Configuration menu - View commit details
-
Copy full SHA for 120e2bc - Browse repository at this point
Copy the full SHA 120e2bcView commit details
Commits on Feb 10, 2019
-
Only return -1 in get_indexer for incorrect values
Instead of returning [-1, -1, -1] when the middle value is incorrect type, return [a, -1, b].
Configuration menu - View commit details
-
Copy full SHA for 2c48272 - Browse repository at this point
Copy the full SHA 2c48272View commit details -
Better tests for get_indexer_errors
Add mix of invalid and valid values
Configuration menu - View commit details
-
Copy full SHA for 02127ff - Browse repository at this point
Copy the full SHA 02127ffView commit details
Commits on Feb 11, 2019
-
Fix broken test in test_interval
Fixes test_with_overlaps test
Configuration menu - View commit details
-
Copy full SHA for ad13d9e - Browse repository at this point
Copy the full SHA ad13d9eView commit details
Commits on Feb 16, 2019
-
Fix broken tests in test_concat
interval.get_indexer() should still raise a TypeError in cases where the types are unorderable. This is needed for DataFrame.append for example, which was breaking tests in test_concat.
Configuration menu - View commit details
-
Copy full SHA for 0ff356c - Browse repository at this point
Copy the full SHA 0ff356cView commit details
Commits on Apr 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9f6b5c0 - Browse repository at this point
Copy the full SHA 9f6b5c0View commit details