結果 : check if array is all nan python