結果 : compute r squared in python