We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a83ace1 commit 8fba492Copy full SHA for 8fba492
larray/tests/test_la.py
@@ -583,15 +583,15 @@ def test_getitem(self):
583
self._assert_equal_raw(la[age159], raw[[1, 5, 9]])
584
585
# ValueGroup at "incorrect" place
586
- self._assert_equal_raw(la[lipro159], raw[:, :, :, [0, 4, 8]])
+ self._assert_equal_raw(la[lipro159], raw[..., [0, 4, 8]])
587
588
# multiple ValueGroup key (in "incorrect" order)
589
self._assert_equal_raw(la[lipro159, age159],
590
- raw[[1, 5, 9]][:, :, :, [0, 4, 8]])
+ raw[[1, 5, 9]][..., [0, 4, 8]])
591
592
# mixed ValueGroup/positional key
593
self._assert_equal_raw(la['1,5,9', lipro159],
594
595
596
# key with duplicate axes
597
# la[[1, 5, 9], age['1,5,9']]
0 commit comments