I have an np.ndarray of shape (5, 5, 2, 2, 2, 10, 8) named table. I can succesfully slice it like this: But for some reason when I try to specify three values for dimension 5 (of length 10) like this: I get: The same is for: This does not happen with: which output the correct result. I tried to