結果 : how to calculate log returns python