Suppose I have np.array like below
dat = array([[ 0, 1, 0], [ 1, 0, 0], [0, 0, 1]] )
What I want to do is that adding the (index of row +