結果 : how to detect nan in python