結果 : calculate missing values in python