Let\'s say I have an array like this:
import pyDOE import numpy as np np.random.seed(42) rows = 5 cols = 3 dummy = np.zeros((rows, cols)) array([[0., 0., 0.],