x2=np.zeros(rows,cols); TypeError: data type not understood code example Example: np.zeros data type not understood mmatrix = np.zeros((nrows, ncols))