Numpy Get Diagonal Matrix z Matrix

np.diag(np.diag(x))
Clumsy Capuchin