I have a 2D numpy array A of (60,1000) dimensions.
Say, I have a variable idx=array([3,72,403, 512, 698])
.
Now, I want to mask all the elements in the columns specified in idx
. The values in these columns might appear in other columns but they shouldn't be masked.
Any help would be appriciated.