import numpy as np
arr = np.arange(1, 13).reshape(3, 4)
print(arr)
row = np.array([0, 1, 2])
col = np.array([2, 1, 3])
print(arr[row, col])

d7591ba2a88a6a81e8ce53026af9f01ab902d4d9
<mask token>

<mask token>
print(arr)
<mask token>
print(arr[row, col])

<mask token>
arr = np.arange(1, 13).reshape(3, 4)
print(arr)
row = np.array([0, 1, 2])
col = np.array([2, 1, 3])
print(arr[row, col])

import numpy as np
arr = np.arange(1, 13).reshape(3, 4)
print(arr)
row = np.array([0, 1, 2])
col = np.array([2, 1, 3])
print(arr[row, col])
