結果 : python matrix replace values