結果 : python replace value in array with nan