Posts by user133107 • 11 points
1 post
-
-1
votes1
answer37
viewsQ: Does anyone know how to use an array variable to access a position in a numpy array?
I have A=np.array([[1,2],3]) and I want to use [0,1] to make A[0,1] being [0,1] a variable. I would get 2. Somebody knows how to do this?