結果 : how to test nan in python