Repository navigation
Added multi-axis advanced indexing support - #343
Conversation
|
Thanks! This is missing some tests, those are pretty much essential. |
|
It seems like the only failed test is test_slicing_errors(index). What's the protocol for modifying the test cases? Would you be able to handle this? |
That's because the test was "testing" if we didn't have advanced indexing at all. You can get rid of the bad tests. |
The contributor usually adds tests, and the maintainer/reviewer reviews the code and tests. |
|
Alright, I'll add a few test cases to test_slicing(index) + remove test_slicing_error and submit a new PR |
|
Oh, you can just push to your branch and it'll modify this PR. Don't need to close at all. |
|
Bug found in returned coordinates. Will attempt to fix tomorrow |
hameerabbasi
left a comment
There was a problem hiding this comment.
I think you need to add back the tests. It seems the previous tests only had 1D advanced indexing... That's okay, but we need a reasonable error message for not 1D that checks for an error.
hameerabbasi
left a comment
There was a problem hiding this comment.
The rest of the failures can be fixed by running pip install black and then black ..
Codecov Report
@@ Coverage Diff @@
## master #343 +/- ##
==========================================
- Coverage 94.11% 94.07% -0.05%
==========================================
Files 19 19
Lines 2379 2395 +16
==========================================
+ Hits 2239 2253 +14
- Misses 140 142 +2 |
|
Thanks, @mikeymezher! |
Added support for multi-axis advanced indexing. Speed is comparable to single axis advanced indexing.