A = numpy.array([[0, 1, 2, 3, 4, 5], [1, 0, 3, 4, 5, 6], [2, 3, 0, 5, 6, 7],
    [3, 4, 5, 0, 7, 8], [4, 5, 6, 7, 0, 9], [5, 6, 7, 8, 9, 0]])
new_order = [0, 3, 1, 4, 2, 5]
A1 = A[:, (new_order)][new_order]
Перестановка элементов матрицы с помощью Numpy