I have the following numpy arrays:
# doors = [[0,1,2],[0,1,2],....,[0,1,2]
doors = np.broadcast_to(np.array([0, 1, 2]),(max_samples, 3))
# first_choice = [ [2],[1],....,[2] ]
first_choice = np.random.randint(3, size=(max_samples, 1))
Without using any kind of loops (for, while, etc.) i would like to create a new numpy array called result who contains doors with suppressed first choice.
Example:
first_choice = [ [2], [1], [1], [0] ....]
result = [ [0,1],[0,2],[0,2],[1,2] .....]
How can i do that ? Use of any libraries if accepted if necessary, i think numpy can do that request but don't know how.