結果 : compute log returns in python