Let\'s say I have a 2 dimensional array, a function, and a "mask" of specific rows, as below:
my_array = np.array([[0,1],[2,3],[4,5],[6,7]]) my_mask = n