Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pandas
- 薪水漲幅 = pd.Series(1.03, 預測時段).cumprod()
- 每年薪水 = 每月薪水*12*薪水漲幅
- 開銷浮動 = pd.Series(np.random.randn(len(預測時段)*0.2+0.9, 預測時段))
- 每月開銷 = 每月開銷 * 開銷浮動
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement