Say I have an array, A1. B1 is another array storing the last two rows of A1. I need to retrieve the first two rows of A1 without slicing as another array (C1). Logically, I'm thinking something like A1 (the whole array) - B1 (the last two rows) = C1 (the first two rows), but I don't know if Python does anything like that. How do I get elements from an array without slicing? Appreciate your help!
A1 = np.array([ [1, 4, 6, 8],[2, 5, 7, 10],[3, 6, 9, 13],[11, 12, 16, 0]])
B1 = A1[2:4,]