Python - Change the values of the diagonal of a NumPy matrix

Python - Change the values of the diagonal of a NumPy matrix

More to explore

Based on this image's title: “Python - Change the values of the diagonal of a NumPy matrix